I use ImageMagick for many years now. But for the first time, I venture in the dangerous realms of CMYK decomposition & color profiles.
I managed to convert from RGB to CMYK without trouble by reading the doc:
Code: Select all
# RGB to CMYK conversion
convert "carte.png" \
-profile /usr/share/color/icc/colord/sRGB.icc \
-profile /usr/share/color/icc/colord/FOGRA39L_coated.icc \
"carte.cmyk.tiff"
# "Verify"
display -profile /usr/share/color/icc/colord/sRGB.icc carte.cmyk.tiff
Were they replaced by the closest in-gamut color?
Or did they somehow pass-through the process? And if so, is there a way to identify the out-of gamut pixels in the converted image?
For refence here are my images:
* http://chicoree.fr/pub/IM/carte.png (RGB, no color profile, assuming sRGB)
* http://chicoree.fr/pub/IM/carte.cmyk.tiff (CMYK, FOGRA39L Coated color profile)