Anyway, assigning profiles to images does work properly but there is a space issue.
If I assign the standard sRGB profile (3144 bytes) to a JPEG image, this is what happens:
Code: Select all
convert -size 512x512 -colorspace RGB -intent Relative -profile sRGB.icm xc:red blah.jpg
identify -verbose blah.jpg
...
Profiles:
Profile-icc: 131084 bytes
IEC 61966-2.1 Default RGB colour space - sRGB
...
If I do the same thing with a PNG output, I get an imagemagick warning when running the command
Code: Select all
convert -size 512x512 -colorspace RGB -intent Relative -profile sRGB.icm xc:red blah.png
convert: Truncating profile to actual length in iCCP chunk `blah.png' @ warning/png.c/PNGWarningHandler/1472.
identify -verbose blah.png
...
Profiles:
Profile-icc: 3144 bytes
IEC 61966-2.1 Default RGB colour space - sRGB
...
Does anyone else have this problem?