ComfyUI Node
Convert IMG → SVG (1-bit)
A ComfyUI node in DAO_master/SVG/Convert with 14 inputs and 3 outputs.
Convert IMG → SVG (1-bit)
- image
- svg_path
- svg_text
- preview
◄threshold128►
◄auto_otsutrue►
◄invertfalse►
◄turdsize2►
◄alphamax1.00►
◄opttolerance0.20►
◄turnpolicyminority►
◄fill_rulenonzero►
◄backendauto►
◄save_svgtrue►
◄auto_prefixtrue►
◄out_diroutput/svg►
◄out_nameimg2svg►
CategoryDAO_master/SVG/Convert
Inputs (14)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| threshold | INT | 1280–255 | — |
| auto_otsu | BOOLEAN | true | — |
| invert | BOOLEAN | false | — |
| turdsize | INT | 20–1000 | — |
| alphamax | FLOAT | 1.000–5 | — |
| opttolerance | FLOAT | 0.200–5 | — |
| turnpolicy | COMBO | minority | 6 options: minority, majority, black, white, left, right |
| fill_rule | COMBO | nonzero | 2 options: nonzero, evenodd |
| backend | COMBO | auto | 3 options: auto, potrace_bin, potrace_py |
| save_svg | BOOLEAN | true | — |
| auto_prefix | BOOLEAN | true | — |
| out_dir | STRING | output/svg | — |
| out_name | STRING | img2svg | — |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| svg_path | STRING | — |
| svg_text | SVG_TEXT | — |
| preview | IMAGE | — |