How to export groups to separate PNG files?

I have an Illustrator file that contains several animation frames for a game. Every frame is a single group and they are all on the same layer. How can I quickly export all these groups, each to a separate PNG file?

Answer

I recently worked on a mobile game and was searching for a similar solution. I found this article Export layers as PNGs in multiple resolutions The author created a script to automate the process, however your frames will need to be on separate layers; it doesn’t matter if they are in groups.

You designate each layer for auto-export with a # at the beginning of the layer name, e.g., #frame1.

While the article says, “multiple resolutions” you can export in a single resolution only by editing the script.

Attribution
Source : Link , Question Author : Paul Manta , Answer Author : Nathan

Leave a Comment