EXIF color information inconsistent after convert CMYK2RGB
Posted: 2013-08-16T04:13:45-07:00
Hi,
I noticed, that convert didn't changed ICC Profile Name and Color Mode while converting a 16bpp CMYK image/tiff to a 8bpp RGB image/tiff by using ICC Profiles with this command:
source CMYK file
resulting RGB-file
How can I avoid that? Or should I simply replace the values with the right ones by using exiftool?
Photoshop opens the converted file as RGB with eciRGB_v2.
Thank you in advance
floogy
I noticed, that convert didn't changed ICC Profile Name and Color Mode while converting a 16bpp CMYK image/tiff to a 8bpp RGB image/tiff by using ICC Profiles with this command:
Code: Select all
INPUTPROFILE="test/16bpp ISO Coated v2 (ECI).icc"
OUTPUTPROFILE="/cygdrive/c/WINDOWS/system32/spool/drivers/color/ECI-Profiles/eciRGB_v2.icc"
LogFile="test/convert2rgb_logfile.txt"
RI="Absolute"
depth=8
for i in "test"/*.tif ;do convert -verbose -format tif -compress lzw -depth ${depth} +profile icm -profile "$INPUTPROFILE" -intent ${RI} -profile "$OUTPUTPROFILE" "$i" "${i%.*}"_eciRGB_v2.tif;done
Code: Select all
$ exiftool -BitsPerSample -ICCProfileName -ProfileCMMType -ProfileConnectionSpace -ProfileCreator -ProfileDescription -RenderingIntend -Format -ColorMode
-ColorSpaceData -ImageSize -XResolution -YResolution image.tif
Bits Per Sample : 16 16 16 16
ICC Profile Name : ISO Coated v2 (ECI)
Profile CMM Type : HDM
Profile Connection Space : Lab
Profile Creator : HDM
Profile Description : ISO Coated v2 (ECI)
Format : image/tiff
Color Mode : CMYK
Color Space Data : CMYK
Image Size : 2003x12472
X Resolution : 240
Y Resolution : 240
Code: Select all
$ exiftool -BitsPerSample -ICCProfileName -ProfileCMMType -ProfileConnectionSpace -ProfileCreator -ProfileDescription -RenderingIntend -Format -ColorMode
-ColorSpaceData -ImageSize -XResolution -YResolution image_eciRGB_v2.tif
Bits Per Sample : 8 8 8
ICC Profile Name : ISO Coated v2 (ECI)
Profile CMM Type : ADBE
Profile Connection Space : XYZ
Profile Creator : bICC
Profile Description : eciRGB v2
Format : image/tiff
Color Mode : CMYK
Color Space Data : RGB
Image Size : 2003x12472
X Resolution : 240
Y Resolution : 240
Code: Select all
$ convert -version
Version: ImageMagick 6.7.6-3 2012-04-28 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP
Photoshop opens the converted file as RGB with eciRGB_v2.
Thank you in advance
floogy