Tiff CMYK to JPG RGB errors
Posted: 2009-10-09T12:09:16-07:00
Hello! First, thanks for ImageMagick, a really great package of graphics tools.
I've encountered a possible bug. I have tried to convert the following TIFF image from Photoshop CS3 from CMYK to an RGB jpeg:
http://pronto.entropy.cc/bad_colors_in_magick.tif
I have used a variety of methods with convert, primarily extracting the profile to an .icc file and using -profile:
convert bad_colors_in_magick.tif -profile cmyk.icc -colorspace RGB -profile sRGB.icc output.jpg
But the output is always mis-colored:
http://pronto.entropy.cc/output.jpg
I am not 100% sure the process I am using here is the official correct way to do such a conversion. However, this exact method has worked fine for us with ImageMagick on hundreds of CMYK images in the past, but the same approaches are suddenly choking on these new images we're getting from CS3 on Macintosh. And these same CS3 TIFF images look fine when opened in several different versions of Photoshop we've tried. I've confirmed this behavior happens on several versions of ImageMagick, ranging from 6.2.2 on Linux (which is how I generated the "output.jpg" above) to 6.5.6 on Mac, and a couple in between. They all produce the same mis-colored output.
Here is the cmyk.icc, extracted using "convert bad_colors_in_magick.tif cmyk.icc"
http://pronto.entropy.cc/cmyk.icc
And here is the sRGB.icc I'm using (which I have used successfully for years with ImageMagick on other TIFF cmyk images):
http://pronto.entropy.cc/sRGB.icc
Any help diagnosing and/or fixing this problem would of course be much appreciated.
I've encountered a possible bug. I have tried to convert the following TIFF image from Photoshop CS3 from CMYK to an RGB jpeg:
http://pronto.entropy.cc/bad_colors_in_magick.tif
I have used a variety of methods with convert, primarily extracting the profile to an .icc file and using -profile:
convert bad_colors_in_magick.tif -profile cmyk.icc -colorspace RGB -profile sRGB.icc output.jpg
But the output is always mis-colored:
http://pronto.entropy.cc/output.jpg
I am not 100% sure the process I am using here is the official correct way to do such a conversion. However, this exact method has worked fine for us with ImageMagick on hundreds of CMYK images in the past, but the same approaches are suddenly choking on these new images we're getting from CS3 on Macintosh. And these same CS3 TIFF images look fine when opened in several different versions of Photoshop we've tried. I've confirmed this behavior happens on several versions of ImageMagick, ranging from 6.2.2 on Linux (which is how I generated the "output.jpg" above) to 6.5.6 on Mac, and a couple in between. They all produce the same mis-colored output.
Here is the cmyk.icc, extracted using "convert bad_colors_in_magick.tif cmyk.icc"
http://pronto.entropy.cc/cmyk.icc
And here is the sRGB.icc I'm using (which I have used successfully for years with ImageMagick on other TIFF cmyk images):
http://pronto.entropy.cc/sRGB.icc
Any help diagnosing and/or fixing this problem would of course be much appreciated.