ComfyUI Node
SVG Optimize (Scour)
A ComfyUI node in 💎TOSVG/Advanced with 17 inputs and 1 output.
SVG Optimize (Scour)
- STRING
◄svg_string—►
â—„enable_viewboxingtrueâ–º
â—„enable_id_strippingtrueâ–º
â—„enable_comment_strippingtrueâ–º
â—„shorten_idstrueâ–º
â—„indent_typenoneâ–º
â—„strip_xml_prologtrueâ–º
â—„strip_xml_space_attributetrueâ–º
â—„remove_metadatatrueâ–º
â—„remove_descriptive_elementstrueâ–º
â—„strip_ids_prefixâ–º
â—„simplify_colorstrueâ–º
â—„precision5â–º
â—„newlinesfalseâ–º
â—„sort_attrsfalseâ–º
â—„group_createfalseâ–º
â—„protect_ids_prefixâ–º
Category💎TOSVG/Advanced
Inputs (17)
| Name | Type | Default | Description |
|---|---|---|---|
| svg_string | STRING | — | |
| enable_viewboxing | BOOLEAN | true | — |
| enable_id_stripping | BOOLEAN | true | — |
| enable_comment_stripping | BOOLEAN | true | — |
| shorten_ids | BOOLEAN | true | — |
| indent_type | COMBO | none | 3 options: none, space, tab |
| strip_xml_prologopt | BOOLEAN | true | — |
| strip_xml_space_attributeopt | BOOLEAN | true | — |
| remove_metadataopt | BOOLEAN | true | — |
| remove_descriptive_elementsopt | BOOLEAN | true | — |
| strip_ids_prefixopt | STRING | — | |
| simplify_colorsopt | BOOLEAN | true | — |
| precisionopt | INT | 50–10 | — |
| newlinesopt | BOOLEAN | false | — |
| sort_attrsopt | BOOLEAN | false | — |
| group_createopt | BOOLEAN | false | — |
| protect_ids_prefixopt | STRING | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| STRING | STRING | — |