Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

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?

share|improve this question
    
What have you tried? –  Scott Aug 15 at 1:49

2 Answers 2

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.

share|improve this answer

Uncertain but, would it be just as easy to copy and paste your frames/groups to separate art boards and using export? This may save the necessity to save a new script to your computer.

Go to file> Export> and then tick the box that says "Use Artboards" Although you would need to reposition your groups.

enter image description here

Illustrator CC

share|improve this answer
    
Repositioning the groups is exactly what I'm trying to avoid. They need to be positioned perfectly otherwise the animation would jitter. –  Paul Manta Sep 23 at 11:59
    
Hmm, a based a little bit on the previous answer from Nathan then I can only think of moving the artwork on separate layers (Paste in Front, same position - Control/Command F) with each frame of the animation saving the only the visible layer and hiding the ones behind if that makes sense? –  user3082874 Sep 23 at 13:12
    
Hello Paul, I have just stumbled on this. I was wandering if this could be of use? creative.adobe.com/addons/products/2955#.VDeaFecVNCU Sounds good. –  user3082874 Oct 10 at 8:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.