Save PSD file as PNG layers in The Gimp

Have you come up with a good Moho trick? Need help solving an animation problem? Come on in.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Rasheed
Posts: 2008
Joined: Tue May 17, 2005 8:30 am
Location: The Netherlands

Save PSD file as PNG layers in The Gimp

Post by Rasheed »

If you don't happen to own a copy of PhotoShop, and you want to use the layers inside a supplied PhotoShop .psd file for AS, you could use the following method.
  • I used this zipped sample PSD file, and imported it into The Gimp (a freeware program for Windows, Mac OS X, and Linux).
  • Make all layers invisible, except the top layer. Export to a PNG file. You will get a warning that only visible layers are exported. That is fine, because we want that.
  • Make the visible layer invisible and the layer below it visible. Export to another PNG file. Repeat this process for all layers.
That's it.

Here's a simple SWF animation I made from the sample PSD file, and here is the AS animation project as zipped archive.

Take care.

NB It is possible to automate this process in The Gimp. However, because I have no experience in programming scripts for The Gimp, I can't give any advice on that. I gladly leave that for others to do.
Post Reply