ComfyUI Node

Potracer to SVG

A ComfyUI node in IMGNR with 15 inputs and 2 outputs.

By ImagineerNL·Created about a year ago·Updated about a year ago· 26
Potracer to SVG
  • image
  • svg_string_deprecated
  • svg_ComfyUI_v0.3.32+
threshold128
input_foregroundBlack on White
turnpolicyminority
turdsize2
corner_threshold1.00
zero_sharp_cornersfalse
opttolerance0.20
optimize_curvetrue
foreground_color#000000
stroke_color#ff0000
stroke_width0.0
background_color#ffffff
no_backgroundfalse
output_scale1.0
CategoryIMGNR

Inputs (15)

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
stroke_coloroptSTRING#ff0000
stroke_widthoptFLOAT0.0
background_coloroptSTRING#ffffff
no_backgroundoptBOOLEANfalse
output_scaleoptFLOAT1.00.1–100

Outputs (2)

NameTypeDescription
svg_string_deprecatedSTRING
svg_ComfyUI_v0.3.32+SVG