Question

I have run into a common, yet difficult problem. I do not use Photoshop for image manipulation. Since all my work is web-based, GIMP does what I need in 99% of the situations. The problem is that I occasionally receive PSD files with CMYK encoding rather than RGB encoding. These files will not open in GIMP, nor will they convert in ImageMagick.

Has anyone found a good solution for converting CMYK files to RGB files (either PSD format or a flat format like PNG) that does not involve the use of Photoshop? Say a plug-in for GIMP or a standalone utility?

Was it helpful?

Solution

Assuming you have access to a Windows computer, freewares like IrfanView or XnView can open it and resave in whatever format you need too. XnView knows more formats, and has a NConvert command line version for this task, but IrfanView can do command line operations as well - I usually install both, preferring IrfanView's interface.

OTHER TIPS

I just had luck with Imagemagick:

convert input.psd -colorspace rgb output.png

It created a bunch of files named output-[0-9].png one for each layer. Good enough to start working with it on Gimp. When I tried to open those PSDs in Gimp 2.6 the message I got was:

Error loading PSD file: Unsupported color mode: CMYK

I'm using Ubuntu Lucid's Imagemagick:

Version: ImageMagick 6.5.7-8 2009-11-26 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
Features: OpenMP

There is a very similar question on Superuser.com where one answer lead me the Program Krita. I've opened a CMYK .psd file of about 26 Mb in Size (6761 x 2423 pixels) in Krita version 2.8.1 with KDE version 4.13.3 in Ubuntu Linux 14.04. After converting the color space from CMYK to RGB using the dialogue Image-->Properties in Krita this program is able to store the image as a RGB PNG file. Update: Nicolas pointed out in a comment below: if your .psd file contains several layers it might be necessary, to go into Image-->Convert Image Color Space before saving.

Afterwards I was able to open the resulting RGB PNG with gimp and all colours were converted in a reasonable way as far as I can tell.

Krita was already mentioned in a comment (by Heiken) above. But since Krita is in my opinion one of the best suitable answers to the original question I decided to post this answer to report about my experience here.

Open Office can actually import CMYK PSD files. Just right click on a PSD file and choose "Open With Other Application" and choose OpenOffice.org Drawing. (Assuming you are using GNOME.)

It doesn't support layers though, so you can't do anything really fancy.

Also you can import it to Scribus, if use 1.3.5 or higher in Scribus you can change the layer visibility and blend mode, the image can be saved in tif, jpg, png, pdf, ps/eps; after, any of this can be edited with Gimp.

Seems like a plugin exists here http://cue.yellowmagic.info/softwares/separate-plus/index.html which includes:

separate RGB to CMYK conversion / Softproofing plug-in (improved version of Alastair M. Robinson's "Separate" plug-in

I found your question as I was searching for answers to the same problem, having just encourntered it myself on my Ubuntu machine.

More in hope than anything else, I transferred the PSD file to my Windows XP machine where I found that I could open it using paint.net. I then saved it again which took ages - not a surprise when I looked at the unbelievable size of the file. The original was 3.7Mb and the re-saved version was 197Mb ! Fortunately, it zipped to about 940K.

Anway, the point is that when I tried the re-saved file on the GIMP on Linux, it seemed to work fine. It even gave me layers.

BTW, paint.net is a fine little program, though it works a little differently than The Gimp. It is also free :-)

Hope that this helps.

R.

Gimp has a plugin called Ghostscript, which seems to work for me.

late answer to the question and probably not around when you posed the question, but there you go. I do not know how well it works as I just started using it.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top