CMYK->RGB with ICC profiles results in CMYK
Posted: 2009-10-28T09:48:20-07:00
Hello,
I'm oberving a strange behaviour with 6.5.6-9.
An untagged CMYK TIFF input cannot be converted to RGB thought I can remember
this worked with older versions. IM also complains about missing LCMS support
though I'm sure it is compiled in.
This is my test script:
This is the output:
What could be wrong here??
Thanks for your efforts,
Axel.
I'm oberving a strange behaviour with 6.5.6-9.
An untagged CMYK TIFF input cannot be converted to RGB thought I can remember
this worked with older versions. IM also complains about missing LCMS support
though I'm sure it is compiled in.
This is my test script:
Code: Select all
#!/bin/bash
IN=/tmp/rose-cmyk.tif
OUT=/tmp/rose-rgb.tif
ICC_CMYK=/tmp/ISOcoated_v2_300_eci.icc
ICC_RGB=/tmp/eciRGB_v2.icc
CONV=/usr/local/share/imagemagick/bin/convert
echo "configuration"
$CONV -list Configure | grep lcms
echo "============="
echo "version"
$CONV -version
echo "============="
echo "profile check"
exiftool $ICC_CMYK | grep "Color Space"
exiftool $ICC_RGB | grep "Color Space"
$CONV rose: -colorspace cmyk $IN
echo "conversion CMYK -> RGB"
$CONV $IN -profile $ICC_CMYK -profile $ICC_RGB +profile icc $OUT
exiftool -PhotometricInterpretation $OUT
Code: Select all
configuration
CONFIGURE ./configure 'CPPFLAGS=-I/usr/local/share/imagemagick/include' 'LDFLAGS=-L/usr/local/share/imagemagick/lib' '--prefix=/usr/local/share/imagemagick' '--enable-shared' '--disable-dependency-tracking' '--x-libraries=/Developer/SDKs/MacOSX10.6.sdk/usr/X11/lib' '--x-includes=/Developer/SDKs/MacOSX10.6.sdk/usr/X11/include' '--with-jpeg=yes' '--with-tiff=yes' '--with-freetype=yes' '--with-png=yes' '--with-jp2=yes' '--with-lcms=yes' '--with-gs-font-dir=/usr/local/share/ghostscript/fonts' '--with-wmf=yes'
DELEGATES bzlib freetype jpeg jng jp2 lcms png tiff x11 xml wmf zlib
LIBS -lMagickCore -llcms -ltiff -lfreetype -ljpeg -lXext -lSM -lICE -lX11 -lXt -lbz2 -lz -lm -lgomp -lpthread
=============
version
Version: ImageMagick 6.5.6-9 2009-10-14 Q16 OpenMP http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
=============
profile check
Color Space Data : CMYK
Color Space Data : RGB
conversion CMYK -> RGB
convert: delegate library support not built-in `/tmp/rose-cmyk.tif' (LCMS) @ profile.c/ProfileImage/897.
Photometric Interpretation : CMYK
Thanks for your efforts,
Axel.