Huge thanks to visioncortex and potracer for this amazing thing! Original repository: https://github.com/visioncortex/vtracer and https://github.com/tatarize/potrace

Image QuantizeSVG String to SVG BytesIOSVG BytesIO to SVG StringSVG String Path SimplifyImage to SVG String BW_Potracer(thanks@ImagineerNL, Optimized integration based on his work)Welcome to the unofficial implementation of the ComfyUI for VTracer. This project converts raster images into SVG format using the VTracer library. It’s a handy tool for designers and developers who need to work with vector graphics programmatically.
/ComfyUI/custom_nodes/ folder.git clone https://github.com/Yanick112/ComfyUI-ToSVG/
ComfyUI-ToSVG folder.path/to/ComfUI/python_embeded/python.exe -s -m pip install -r requirements.txt
pip install -r requirements.txt
Enjoy setting up your ComfyUI-ToSVG tool! If you encounter any issues or need further help, feel free to reach out.
Converts images to RGBA format if necessary
Support batch conversion
node ConvertRasterToVector to handle the conversion of raster images to SVG format with various parameters for customization.
node SaveSVG to save the resulting SVG data into files.
Enjoy converting your raster images to SVG with this handy tool! If you have any questions or need further assistance, don’t hesitate to reach out.
We use cookies
We use cookies to analyze traffic and improve your experience. You can accept or reject analytics cookies.