Generate all your iOS App Icons with SVG and Inkscape

Let’s say you have Inkscape installed – a great, free vector-graphics program.

Now let’s also say you have an SVG icon that you want to rasterize for the AppStore and Apple’s million different icon size requirements.

And let’s also assume that you realize that simply resizing the rasterized image could potentially cause aliasing/blurring/etc.

Well, have I got the command line for you!
ruby -e '[58,120,29,40,80,76,152,1024].each { |x| `/Applications/ --export-png icon#{x}.png -w #{x} icon.svg` }'

Comment (1)

  1. Josh H wrote::

    This short and sweet post inspired others to build some cool stuff. Great job!

    Wednesday, June 3, 2015 at 3:06 pm #