Problem saturating a CMYK image
Posted: 2017-08-09T18:08:59-07:00
I'm trying to do a simple saturation bump on a CMYK image. I'm starting with a PNG image containing an embedded Adobe RGB profile, convert to CMYK with a provided color profile, then modulate the saturation by 20%:
For some reason the reds get shifted? I'm not seeing this result when using the sample test.png image:
My sample files should be accessible here: https://www.dropbox.com/sh/boo61pwnm7iq ... q8tma?dl=0
Per the examples page http://www.imagemagick.org/Usage/color_mods/#modulate I am assuming I don't need to perform any additional colorspace conversion (to/from HSL occurs automatically?)
Version: ImageMagick 7.0.6-3 Q16 x64 2017-07-24 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib
Code: Select all
convert sample.png -profile USWebCoatedSWOP.icc sample_CMYK.tif
convert sample_CMYK.tif -modulate 100,120 sample_CMYK_saturated.tif
Code: Select all
convert test.png -profile USWebCoatedSWOP.icc test_CMYK.tif
convert test_CMYK.tif -modulate 100,120 test_CMYK_saturated.tif
Per the examples page http://www.imagemagick.org/Usage/color_mods/#modulate I am assuming I don't need to perform any additional colorspace conversion (to/from HSL occurs automatically?)
Version: ImageMagick 7.0.6-3 Q16 x64 2017-07-24 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC
License: http://www.imagemagick.org/script/license.php
Visual C++: 180040629
Features: Cipher DPC Modules OpenMP
Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib