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.
psd2tiff in CMYK with transparency
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: psd2tiff in CMYK with transparency
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.
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
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
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
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: psd2tiff in CMYK with transparency
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.