Illustrator: exporting layers to PNG

18 Sep 2008

49 icons selected

Please note: This script no longer works. Please use Matthew Ericson’s MultiExporter Script instead.

So, I had an Illustrator file with 49 icons, each on a different layer. I put up a question on twitter, asking whether you can export each layer as a PNG, just like Fireworks would do. Within a hour this script was written and boom! All 49 icons output as PNG in one go, cropped to the artboard size!

If this is something you happen to need too, just download the script and pop it in your Adobe Illustrator>Presets>Scripts folder. Big thanks and multiple pints of Guinness must go to Jack Westbrook for helping me out with this one!

(The image above shows all 49 icon layers – visible and selected)

Contact us

Call Jon on +44 (0)7917 391536, email or tweet @hicksdesign.

Alternatively, pop in for tea and cake at the studio…

Hicks
Wenrisc House
Meadow Court
Witney, OX28 6ER
United Kingdom