Page 1 of 1

Convert Photoshop .psd file into one PNG file per layer?

Posted: 2009-04-07T05:24:22-07:00
by tnek
Hi,

I'm wondering if it's possible using Image Magick?

I have a psd file which consists of a lot of layers, maybe 100. I would like to save each layer to its own file, preferably as PNG but any lossless bitmap format is fine.

It's a web design mockup and I need to extract the different components for making a prototype. It's roughly one layer per component which would make the above very convenient if it's possible.

Best regards, Kent

Re: Convert Photoshop .psd file into one PNG file per layer?

Posted: 2009-04-07T07:27:53-07:00
by Bonzo
You should be able to do it but you do not saying what you are using, php, batch script, bash etc.

image.psd[0] Should be all the layers in one image.
image.psd[1] - image.psd[100] should be all the other layers seperated

Re: Convert Photoshop .psd file into one PNG file per layer?

Posted: 2009-04-07T08:39:31-07:00
by tnek
Ah. I will be using a batch script. Is it possible to use the layer names as file names? (If it's difficult I'll skip that idea)