Recommendations for converting raster images to vector graphics

前端 未结 5 1374
别跟我提以往
别跟我提以往 2021-02-10 16:15

If a person is looking to batch convert a large number of raster images into vector graphics, are there any tools out there that do that well?

For an example, think of j

5条回答
  •  一生所求
    2021-02-10 17:00

    Imagetracer is a free and open source (Public Domain) library and application which might be useful to batch convert files. Disclaimer: I made these.

    Get ImageTracer.jar from

    https://github.com/jankovicsandras/imagetracerjava

    and then the basic usage is:

    java -jar ImageTracer.jar smiley.png

    This can be automated with standard CLI batch processing, for example with bash:

    for file in *.png; do java -jar ImageTracer.jar "$file" outfilename "${file/%ext/svg}"; done

    This should create SVGs from all PNGs in the current folder.

提交回复
热议问题