ComfyUI-Image-Vector

ComfyUI-Image-Vector
★ 6

矢量化vtracer集成ImageMagickComfyUI节点
将位图转换为矢量图的ComfyUI节点,集成vtracer并支持ImageMagick/wand,简化安装与使用,便于新手快速矢量化图片。
💡 将像素图片转换为SVG等矢量格式,便于后期编辑与无损放大。
🍴 2 Forks💻 Python🔄 2025-04-27
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/e98a62d17551
📦 requirements.txt
vtracer
Wand
Pillow
torch
numpy
#'ImageMagick'
is
necessary
but
can
not
install
through
pip.
image
image
📄 README

Image-vector-for-ComfyUI:来自于帆哥的矢量化项目,原因是帆哥迟迟不合并修改后的代码,哈哈哈,感谢帆哥。本项目添加了许多的指示说明,让小白玩家也能顺利使用此节点,矢量化图片!冲!

一个打包了vtracer的comfyui节点,用于把像素转矢量 a wrap-up comfyui nodes for concerting pix to raster

shot out to Vtracer!

https://github.com/visioncortex/vtracer

install guide安装指南:

  • cd comfyui/custom_nodes(导航至自定义节点文件夹)
  • git clone(把代码复制到本地)
  • pip install -r requirements.txt(安装依赖)
  • (if you are using comfyui-portable, first cd to the folder called”python_embeded”,then run “python.exe -m pip install”+”requirements” 如果你用的是comfyui便携版,先导航到python_embeded 这个文件夹,然后用python.exe -m pip install+你要安装的依赖)

  • install another requirement(https://imagemagick.org/archive/binaries/ImageMagick-7.1.1-33-Q16-HDRI-x64-dll.exe), details on: https://docs.wand-py.org/en/latest/guide/install.html#install-imagemagick-on-windows
  • install ImageMagick ——a Python Library which support wand run

    Debian/Ubuntu system:

    Windows (is more complex):check this website may be a additional instruction is needed 限于篇幅这里不再详细介绍

    https://imagemagick.org/script/download.php#windows

  • restart comfyui(重启comfyUI)
  • user guide使用说明:

    SVG file 转换后效果:

    具体参数调整参考:https://github.com/visioncortex/vtracer

    just copy your dir to the output_dir,and click queue prompt, you will get your svg file in the folder

    你进需要把文件保存路径拷贝到output_dir,点击生成就可以获得文件