ComfyUI Node
转换图像丨SVG
A ComfyUI node in QING/SVG处理 with 19 inputs and 5 outputs.
转换图像丨SVG
- image
- mask
- svg_content
- width
- height
- mask
- preview
◄conversion_modeedge_detection►
◄precision100►
◄presetsimple►
◄edge_threshold150►
◄edge_threshold2150►
◄simplify_tolerance1.0►
◄min_area10►
◄edge_auto_thresholdtrue►
◄preserve_aspect_ratiotrue►
◄background_color#FFFFFF►
◄stroke_color#000000►
◄stroke_width1.0►
◄silhouette_auto_thresholdtrue►
◄silhouette_threshold127►
◄preview_max_size512►
◄minify_svgtrue►
◄decimal_precision2►
CategoryQING/SVG处理
Inputs (19)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| conversion_mode | COMBO | edge_detection | 4 options: edge_detection, color_quantization, silhouette, posterize |
| precision | INT | 1001–200 | — |
| preset | COMBO | simple | 4 options: custom, simple, detailed, artistic |
| edge_threshold1 | INT | 501–200 | — |
| edge_threshold2 | INT | 1501–300 | — |
| simplify_tolerance | FLOAT | 1.00.1–10 | — |
| min_area | INT | 101–1000 | — |
| maskopt | MASK | — | |
| edge_auto_thresholdopt | BOOLEAN | true | — |
| preserve_aspect_ratioopt | BOOLEAN | true | — |
| background_coloropt | STRING | #FFFFFF | — |
| stroke_coloropt | STRING | #000000 | — |
| stroke_widthopt | FLOAT | 1.00.1–10 | — |
| silhouette_auto_thresholdopt | BOOLEAN | true | — |
| silhouette_thresholdopt | INT | 1270–255 | — |
| preview_max_sizeopt | INT | 51264–2048 | — |
| minify_svgopt | BOOLEAN | true | — |
| decimal_precisionopt | INT | 20–6 | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| svg_content | STRING | — |
| width | INT | — |
| height | INT | — |
| mask | MASK | — |
| preview | IMAGE | — |