Page 1 of 1

psd2tiff in CMYK with transparency

Posted: 2010-02-27T14:49:46-07:00
by jbernad
Hi,

I'm trying to convert a CMYK PSD file with several layers and transparent background to a CMYK TIFF file with transparent background with following command:

convert <PSD file>[0] <TIFF file>

However transparency is being removed (I just get a white background) although an alpha channel is present within the TIFF image (confirmed through identify -verbose)

It works If I do the same but using colorspace RGB: convert <PSD file>[0] -colorspace RGB <TIFF file>

Can someone help me?

Thank you very much in advanced.

Re: psd2tiff in CMYK with transparency

Posted: 2010-02-27T15:50:37-07:00
by fmw42
try

convert -colorspace RGB image.pdf[0] image.tif

For cmyk images without a cmyk profile, one needs to set the colorspace before reading in the pdf. I dont' know if this will preserve the transparency or not.

You may need to set your delegates.xml file to use a different device. But I am not an expert on PDF things.

Re: psd2tiff in CMYK with transparency

Posted: 2010-02-28T12:10:54-07:00
by jbernad
Hi and thank you for your answer,

the source file is a PSD (Photoshop) file not a PDF file. It is already in CMYK format. If I don't specify -colorspace then the result is a CMYK file but with white background

Re: psd2tiff in CMYK with transparency

Posted: 2010-02-28T15:12:50-07:00
by fmw42
sorry, I misunderstood the file type. I somehow saw psd and thought pdf. my mistake. you probably should post a link to one of your psd files so others can see. However as I understand it, the first frame image.psd[0] will be the flattened image, so that transparency is removed. You probably need to separate all the frames and composite them in such a way that you keep the transparency as its own layer over the composited other rgb frames. but I am no expert on psd files.