in reply to best way to add a layer to a photoshop file

PSD is a proprietary format and therefore maybe not even legal to write software against without a license from Adobe. The CPAN seems to have nothing to do what you want, near as I can tell, though there is a bit of meta-munging available with Image::ExifTool so you could examine that code if you wanted to try to get something going.

  • Comment on Re: best way to add a layer to a photoshop file