CMYK Tif to RGB

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
ticroch
Posts: 3
Joined: 2018-02-14T09:45:07-07:00
Authentication code: 1152

CMYK Tif to RGB

Post by ticroch »

Hello,

I have a CMYK Tif that I want to cnvert as sRGB PNG or JPG (download hier https://files.fm/f/rkanjfy7).

When I try to convert it as sRGB, I'm allways getting wrong colors: green is too bright (like on screenshot below), cyan blue points appears, ... tipically errors by CMYK.

Image

I use the last version of imagemagick (7.0.7-26-Q16-x64).
I tried it with colorspace, several profiles, ... I don't get it properly converted.
Has someone an idea?

Thanks a lot!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: CMYK Tif to RGB

Post by fmw42 »

You did not say what command you tried!. You need to use profiles to convert CMYK to RGB properly.

Code: Select all

convert test.tif -profile yourpath2/sRGB.icc test.jpg

use your own path to your sRGB.icc profile.
ticroch
Posts: 3
Joined: 2018-02-14T09:45:07-07:00
Authentication code: 1152

Re: CMYK Tif to RGB

Post by ticroch »

Like I said, I tested a lot af commands, nothing work's.
I always become another result, but always with wrong colors...

I tested to transform the CMYK TIF to a CMYK PNG, doesn't work too.

Here few examples from what I tested (path to my profiles are correct)

Code: Select all

convert test.tif -profile profiles/sRGB.icc test.jpg
convert test.tif -profile yourpath2/sRGB.icc test.png
convert test.tif -colorspace sRGB test.png
convert test.tif -colorspace CMYK test.png
convert test.tif test.png
....
When I open it with ImageMagick Display, without online command, I get the same result, see screenshot

Image
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: CMYK Tif to RGB

Post by fmw42 »

This is what I got from

Code: Select all

convert test.tif -profile /Users/fred/images/profiles/sRGB.icc test.jpg
Image

If this is not correct, what is wrong with it?
ticroch
Posts: 3
Joined: 2018-02-14T09:45:07-07:00
Authentication code: 1152

Re: CMYK Tif to RGB

Post by ticroch »

You're right, this is correct.

I deinstalled the software and reinstalled it (what I had allready done), seems to works no...
I don't understand why, it's the same version... But it doesn't matter.

Thank you
Post Reply