I have a large number of PSD files that will be processed. They need to have certain layers rendered into a flattened file. I've got the command to do this, but the problem is that sometimes the PSD is saved with the layers that need to be rendered being turned off or hidden. I can see that IM can see the layer, but does not render any of its content because it is hidden.
Is there a way I can make the layer visible and then flatten into the image?
Can hidden PSD layers be enabled?
-
- Posts: 9
- Joined: 2015-07-02T12:23:46-07:00
- Authentication code: 1151
Re: Can hidden PSD layers be enabled?
For invisible layers when set -compose to 'None' to make it visible again you should use -compose undefined.
-
- Posts: 9
- Joined: 2015-07-02T12:23:46-07:00
- Authentication code: 1151
Re: Can hidden PSD layers be enabled?
This wasn't quote clear, but I think you were saying the layer has a Compose setting of 'None', as viewed using 'identity -verbose' on the file. I tried a couple of different options with compose. Eventually I found that '-compose Over' was what I needed. So my command looks like this:dlemstra wrote:For invisible layers when set -compose to 'None' to make it visible again you should use -compose undefined.
Code: Select all
convert -compose Over Test.psd[1] Test.psd[2] Test.psd[3] -flatten Test.jpg
Thanks for the assistance.