Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

A designer did a design for me. It is in Adobe illustrator. In order to write my program, I need to export sublayers one by one to .png files. How can I do that?

share|improve this question

marked as duplicate by Scott adobe-illustrator Jul 22 '15 at 16:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

The easiest way to do this is by using a script. I created a pretty powerful script recently and blogged about it here:

The blog post contains the script and instructions on how to use the script (and also modify it if you want to).

Hope it helps! /Johan

share|improve this answer
EXCELLENT script Johan. Thanks for sharing. – Scott Sep 6 '12 at 12:19
I managed to discover that awesome script some weeks ago, but nowdays the site throws a 404 error. It's a shame because the script is super useful. I wonder if it just dissapear or if they moved their article somewhere else or something... – Metafaniel Jun 22 at 16:00

It actually it may be easier to export the .ai file to a Photoshop file, then use Photoshop to export (Save for Web) to .png file format.

Within Ai, you'll have to turn visibility off for every layer/sublayer other than the sublayer you want to save. And then turn on another sub layer and repeat until all files have been exported. There's no automated way built into Illustrator to export or save layers (or sublayers) as individual files.

However, if you export the .ai file as a .psd with layers in tact (assuming there's no transparency or blending modes used in AI), Photoshop does offer scripts or automated ways to export layers as files.

In the end, it really all depends upon the artwork. Some Ai art exports to .psd file format just fine, other Ai art takes some tweaking, which may or may not be feasible for a given project.

share|improve this answer

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