psd layer sets

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
percepts
Posts: 3
Joined: 2014-12-05T09:47:05-07:00
Authentication code: 6789

psd layer sets

Post by percepts »

is there a way to convert PSD file with multiple sets layer sets into layered Tiff files giving each tiff file the name of the PSD layer set it was created from and with all of the layer sets layers retained without merging them?

Thanks
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: psd layer sets

Post by fmw42 »

IM does not keep track of layer names as far as I know and likely does not know how to handle multiple layer sets in PSD files
percepts
Posts: 3
Joined: 2014-12-05T09:47:05-07:00
Authentication code: 6789

Re: psd layer sets

Post by percepts »

That's blown that theory then.

I see when doing a verbose identify on a psd that there is Properties Label which I think is layer name for raterised layers.

Is it possible to use that to name output files

something like:

convert mypsd.psd image-%d-%l.png

doing this does puts %l in the file name without using the label. Have I got the usage of %l wrong or is it just not available ?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: psd layer sets

Post by fmw42 »

I think %I would extract only the label property in the meta data for the input image. But if you upload one of your PSD files to some place like dropbox.com and post the URL here, I can take a look. You can always extract anything from the verbose data separately from the image. So you could go through each layer and get its name if that is in the meta data and make a list. Then extract each layer from the image and combine the ones you want into a tiff file. But I do not know how to assign the extracted names to the layer names in the new tiff using IM. You could use them to name the individual layer images that you extracted, but I do not think that would make them layer names in the tiff.
percepts
Posts: 3
Joined: 2014-12-05T09:47:05-07:00
Authentication code: 6789

Re: psd layer sets

Post by percepts »

I'm only doing this because I don't have a recent version of photoshop which will open the file (imageset file from PHPBB).
I think I'll get a trial version of photoshop CC which should solve my problem.

Thanks for taking the time the time to look at it.
Post Reply