regression in -colorspace sRGB behavior
Posted: 2009-12-03T09:50:31-07:00
It seems that new versions consider differently than I think it is not a correct behavior.
I was using following command in batch processing of images. Some of source images were in sRGB (and no profile was embedded in the image). Some of images were in AdobeRGB and profile was embedded.
In ImageMagick-6.4.0.4 it was working correctly:
It is wanted change or a regression compared to the previous behavior?
Note:
It seems that this works in a similar way than the command above:
But for sRGB images without embedded profile it complains:
convert: associate profile with image, a source and destination color profile required for transform `icc' @ profile.c/ProfileImage/812.
(Well, just in this case letting it without any conversion is exactly what I need.)
But this again does not work properly (too dark), with or without
embedded profile:
It seems to be related to:
2008-06-03 6.4.1-6 Cristy <quetzlzacatenango at image...>
* The -colorspace option is an operator, not a setting.
Code: Select all
-colorspace sRGB
Code: Select all
-profile "sRGB Color Space Profile.icm"
I was using following command in batch processing of images. Some of source images were in sRGB (and no profile was embedded in the image). Some of images were in AdobeRGB and profile was embedded.
Code: Select all
convert -colorspace sRGB $SRC $DEST
- If the image had no profile, no color conversion was done, expecting input in sRGB.
- If the input was in AdobeRGB, conversion to sRGB was performed.
It is wanted change or a regression compared to the previous behavior?
Note:
It seems that this works in a similar way than the command above:
Code: Select all
convert -profile /usr/share/color/icc/Adobe\ ICC\ Profiles/RGB\ Profiles/sRGB\ Color\ Space\ Profile.icm $SRC $DEST
convert: associate profile with image, a source and destination color profile required for transform `icc' @ profile.c/ProfileImage/812.
(Well, just in this case letting it without any conversion is exactly what I need.)
But this again does not work properly (too dark), with or without
embedded profile:
Code: Select all
convert -profile /usr/share/color/icc/Adobe\ ICC\ Profiles/RGB\ Profiles/sRGB\ Color\ Space\ Profile.icm -colorspace sRGB $SRC $DEST
2008-06-03 6.4.1-6 Cristy <quetzlzacatenango at image...>
* The -colorspace option is an operator, not a setting.