PSD with two layers made with gs, file unreadable

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
Wolf_Cologne
Posts: 3
Joined: 2017-05-25T09:32:02-07:00
Authentication code: 1151

PSD with two layers made with gs, file unreadable

Post by Wolf_Cologne »

I would like to create psd- or tif-files with two layers, for example one layer with text and another with grafics. I already have two tif-files and just need to merge them.

I tried "convert file1.tif file2.tif result.psd" but Photoshop can not open the resulting psd-file and claimes my version of Photoshop CS5 is not compatible with the file. The same procedure with tif gets me a tif without layers.

I am using GS 9.21. Any idea what´s wrong?
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: PSD with two layers made with gs, file unreadable

Post by fmw42 »

You have to make a flattened version of the file to add to your psd file.

Unix syntax:

Code: Select all

convert file1.tif file2.tif \( -clone 0,1 -flatten \) +insert result.psd
If on windows, remove the two \

Please always provide your IM version and platform.

IM will not make a two-layer TIFF. If you try, it will return a a two-page tiff.
Wolf_Cologne
Posts: 3
Joined: 2017-05-25T09:32:02-07:00
Authentication code: 1151

Re: PSD with two layers made with gs, file unreadable

Post by Wolf_Cologne »

Thanks a lot, I am working with Mac OS 10.10.5 and GS 9.21.

The result of your code is still unreadable in Photoshop CS 5.1 :(
Wolf_Cologne
Posts: 3
Joined: 2017-05-25T09:32:02-07:00
Authentication code: 1151

Re: PSD with two layers made with gs, file unreadable

Post by Wolf_Cologne »

OK, fixed it. There was a problem with an icc-profile in the source files.
Post Reply