Page 1 of 1

CMYK to RGB conversion broken in 6.3.3

Posted: 2007-05-24T09:36:36-07:00
by t.hoepfner
Hi,

It seems, that CMYK to RGB conversion is broken in 6.3.3. I'm on MacOS X and use the MacPorts (ex DarwinPorts) version of ImageMagick. I've put some images showing my problem here:

Input
Output with 6.3.2 (OK)
Output with 6.3.3 (broken)

Here's what I did to create the images:

Code: Select all

# Test 6.3.2

[mbp:~/Downloads/IM] th% convert -version
Version: ImageMagick 6.3.2 02/16/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC

[mbp:~/Downloads/IM] th% convert +profile "*" -colorspace RGB in.jpg out632.jpg

# Test 6.3.3

[mbp:~/Downloads/IM] th% convert -version
Version: ImageMagick 6.3.3 05/04/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC

[mbp:~/Downloads/IM] th% convert +profile "*" -colorspace RGB in.jpg out633.jpg
Is it a bug or is there some different default behaviour in 6.3.3 which I do have to respect in some way?

Thanks for your help,
Timo

Re: CMYK to RGB conversion broken in 6.3.3

Posted: 2007-05-24T09:50:17-07:00
by magick
Your links return 404.

Re: CMYK to RGB conversion broken in 6.3.3

Posted: 2007-05-24T10:12:42-07:00
by t.hoepfner
I corrected the URLs in the original message. Sorry for that.

Timo

Re: CMYK to RGB conversion broken in 6.3.3

Posted: 2007-05-24T10:56:14-07:00
by magick
We can reproduce the problem and will have a fix in ImageMagick 6.3.4-3 Beta within a day or two. In the mean-time this is the proper way to convert the image and it works with ImageMagick 6.3.3:
  • convert cmyk.jpg -profile rgb.icc rgb.jpg

Re: CMYK to RGB conversion broken in 6.3.3

Posted: 2007-05-25T01:53:32-07:00
by t.hoepfner
That sounds great. Thanks a lot.

Will it then be available in /pub/ImageMagick/beta on the FTP server or only in SVN?

Re: CMYK to RGB conversion broken in 6.3.3

Posted: 2007-05-25T08:48:10-07:00
by magick
6.3.4-3 Beta is available now in the beta folder of the FTP site and its available from SVN now.

Re: CMYK to RGB conversion broken in 6.3.3

Posted: 2007-05-25T09:46:41-07:00
by t.hoepfner
Just compiled a new version and did the test again. Works perfectly.

Thanks a lot for the super fast resolution of this problem.

Timo

Re: CMYK to RGB conversion broken in 6.3.3

Posted: 2007-08-24T00:04:35-07:00
by NickKuh
I've found the same problem. I'm trying to update ImageMagick to 6.3.4-3 - is this possible using Darwin Ports? What would the command line be?

Thanks!

Nick

Re: CMYK to RGB conversion broken in 6.3.3

Posted: 2007-08-24T06:03:14-07:00
by t.hoepfner
Yes, there is a more recent version of ImageMagick available in DarwinPorts (now called MacPorts). You have to force MacPorts to update its package descriptions. In Terminal execute:

Code: Select all

sudo port selfupdate
to be sure execute it twice.

then do a

Code: Select all

sudo port search ImageMagick
which today returns

Code: Select all

ImageMagick                    graphics/ImageMagick 6.3.5-6      Tools and libraries to manipulate images in many formats
If you want to update to that version, then type

Code: Select all

sudo port upgrade ImageMagick
and wait until it's finished.

BTW: Ghostscript was also recently changed:

Code: Select all

sudo port search ghostscript
ghostscript                    print/ghostscript 8.60         GPL Ghostscript, An interpreter for PostScript and PDF
ghostscript-fonts-hiragino     print/ghostscript-fonts-hiragino 8.60         Japanese Hiragino fonts for ghostscript 8.60
I don't know if it will update that automatically with ImageMagick.

Timo

Re: CMYK to RGB conversion broken in 6.3.3

Posted: 2007-08-24T10:46:44-07:00
by NickKuh
Superb! Problem solved!

Thank you very much!

Nick

Re: CMYK to RGB conversion broken in 6.3.3

Posted: 2007-09-03T01:09:28-07:00
by NickKuh
Further to my previous mail I've tried to update ImageMagick on my live Linux server (OS X is my offline test environment) to correct the same problem. I downloaded ImageMagick-6.3.5-7.tar.gz and then extracted it's contents to my home directory. I then ran ./configure followed by a make install as sudo.

When I check the installed version:

convert -version

I get :

Version: ImageMagick 6.3.5 09/03/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC

However, the original problem (CMYK > RGB conversion) is still not resolved on the Linux version.

Here's the file I've been testing/having problems with:

http://www.editioninteractive.net/imagemagick/start.tif

Am I doing something wrong with the install?

Re: CMYK to RGB conversion broken in 6.3.3

Posted: 2007-09-03T01:17:21-07:00
by NickKuh
I should also add that when I convert via OS X I get no error and when I convert via the Linux installation I get 2 errors:

Code: Select all

convert /home/edition/dev.goodprint.co.uk/export-test/start.tif -colorspace RGB -resample 300 /home/edition/dev.goodprint.co.uk/export-test/end2.png
convert: unknown field with tag 700 (0x2bc) ignored. `/home/edition/dev.goodprint.co.uk/export-test/start.tif'.
convert: unknown field with tag 34665 (0x8769) ignored. `/home/edition/dev.goodprint.co.uk/export-test/start.tif'.