Convert SVG file to multiple different size PNG files

后端 未结 7 1017
轻奢々
轻奢々 2021-01-30 09:10

I have a logo image in SVG format and I am wondering if theres a way to generate multiple different sized png files.

Eg, I set 20 different width and height and it gener

相关标签:
7条回答
  • 2021-01-30 10:05

    I don't know about Illustrator, but this should be easy using the Inkscape command line options. For example, using Ruby:

    $ ruby -e '[10,100,200].each { |x| `inkscape --export-png logo#{x}.png -w #{x} logo.svg` }'
    
    0 讨论(0)
提交回复
热议问题