Issue assigning ICC profiles to some images.
Posted: 2010-03-03T17:11:23-07:00
I'm using version 6.5.9-3 on mac os x.
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:
A 3k profile is taking up about 128k of space (there's a bunch of zeroes in the output JPEG).
If I do the same thing with a PNG output, I get an imagemagick warning when running the command
And the profile takes up the correct amount of space.
Does anyone else have this problem?
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?