Embedded profile length in iCCP chunk is negative
Posted: 2013-06-03T14:51:32-07:00
Hello everyone!
On my host server, they have installed the latest version of imagemagick for me. When I run the following command, I get a warning message for it:
convert qfobiHNWZXsaraship.jpg -font /usr/share/fonts/msttcorefonts/impact.ttf -pointsize 50 -gravity center -annotate +0+0 'Hello world' outimage.png
Everything actually is processed as it should, with the right point size, font, annotation etc, but the only thing that happens is I get the warning message after. (Note: I have access to ssh and run the commands that way to test on the server hence how I immediately am able to see the warning message)
The warning message is: convert: Embedded profile length in iCCP chunk is negative `outimage.png' @ warning/png.c/MagickPNGWarningHandler/1830.
They also installed fonts on the server recently for me as well just to note.
I was thinking maybe it was something to do with simply just outputting as .png file, but when I do the following command, everything works with no warnings:
convert qfobiHNWZXsaraship.jpg -colorspace Gray grayout.png
IM version just to note:
ImageMagick 6.8.5-9 2013-06-02 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib freetype jng jp2 jpeg lcms png ps tiff x zlib
Hopefully it's not something major. Thank you!
On my host server, they have installed the latest version of imagemagick for me. When I run the following command, I get a warning message for it:
convert qfobiHNWZXsaraship.jpg -font /usr/share/fonts/msttcorefonts/impact.ttf -pointsize 50 -gravity center -annotate +0+0 'Hello world' outimage.png
Everything actually is processed as it should, with the right point size, font, annotation etc, but the only thing that happens is I get the warning message after. (Note: I have access to ssh and run the commands that way to test on the server hence how I immediately am able to see the warning message)
The warning message is: convert: Embedded profile length in iCCP chunk is negative `outimage.png' @ warning/png.c/MagickPNGWarningHandler/1830.
They also installed fonts on the server recently for me as well just to note.
I was thinking maybe it was something to do with simply just outputting as .png file, but when I do the following command, everything works with no warnings:
convert qfobiHNWZXsaraship.jpg -colorspace Gray grayout.png
IM version just to note:
ImageMagick 6.8.5-9 2013-06-02 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2013 ImageMagick Studio LLC
Features: DPC OpenMP
Delegates: bzlib freetype jng jp2 jpeg lcms png ps tiff x zlib
Hopefully it's not something major. Thank you!