tags:

views:

191

answers:

3

I was recently asked to come up with a script that will allow the end user to upload a PSD (Photoshop) file, and split it up and create images from each of the layers.

I would love to stay with PHP for this, but I am open to Python or Perl as well.

Any ideas would be greatly appreciated.

+1  A: 

You can try the PHP PSD Reader, which should at least get you started.

Tim Sullivan
+1  A: 

Using GraphicsMagick or ImageMagick along with Magick++, you can then use imagick.

imagick has all of the calls necessary to convert PSDs from layers, including doing masks.

A: 

Thanks, I'll give it a shot

TJ