2009-09-09

Tool: psdlayerstga


UPDATE: psdlayerstga has been renamed to psdslayer with addition of saving the layers as png files. Get the new tool from here.

I took DrPetter’s PSDImage code for extracting layers from PSD images, and combined it with stb_image just for saving out the layers easily as TGA files. And then I included some simple options and output of the metadata (i.e. name and position of each layer). Result is a little command-line utility, “psdlayerstga”. Use it for anything, but do so at your own risk. (The PSDImage code uses that same license, and stb_image is public domain.)

Download here, including C/C++ source and a pre-built executable for windows:
psdlayerstga.zip
Go get newer version (psdslayer) from here.

Edit: Don’t miss psdparse below (suggested by Toby), an alternative tool for the same task.

2 responses:

  1. Toby says:

    A different implementation of a similar utility:
    http://telegraphics.com.au/svn/psdparse/

  2. jetro says:

    Sweet, your tool seems to be better!

Leave a Reply

Code, Misc.RSS feed for responses —Trackback link.


3rd party advertisement:
(not chosen by me, picked by Google for you)