Nodes/ComfyUI-ToSVG/Image to SVG String BW_Potracer
ComfyUI Node

Image to SVG String BW_Potracer

A ComfyUI node in 💎TOSVG/Convert with 13 inputs and 1 output.

By Yanick112·Created 2 years ago·Updated about a year ago· 313
Image to SVG String BW_Potracer
  • image
  • STRING
â—„threshold128â–º
â—„input_foregroundBlack on Whiteâ–º
â—„turnpolicyminorityâ–º
â—„turdsize2â–º
â—„corner_threshold1.00â–º
â—„zero_sharp_cornersfalseâ–º
â—„opttolerance0.20â–º
â—„optimize_curvetrueâ–º
â—„foreground_color#000000â–º
â—„background_color#FFFFFFâ–º
â—„stroke_color#FF0000â–º
â—„stroke_width0.0â–º
Category💎TOSVG/Convert

Inputs (13)

NameTypeDefaultDescription
imageIMAGE—
thresholdINT1280–255—
input_foregroundoptCOMBOBlack on White2 options: White on Black, Black on White
turnpolicyoptCOMBOminority6 options: minority, black, white, left, right, majority
turdsizeoptINT2—
corner_thresholdoptFLOAT1.000–1.34—
zero_sharp_cornersoptBOOLEANfalse—
opttoleranceoptFLOAT0.200–1—
optimize_curveoptBOOLEANtrue—
foreground_coloroptSTRING#000000—
background_coloroptSTRING#FFFFFF—
stroke_coloroptSTRING#FF0000—
stroke_widthoptFLOAT0.0—

Outputs (1)

NameTypeDescription
STRINGSTRING—