Search code examples
phppsd

Work with PSDs in PHP


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.


Solution

  • 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.