PNG warning messages IM Q16 Mac OSX Snow Leopard

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
User avatar
Posts: 26383
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

PNG warning messages IM Q16 Mac OSX Snow Leopard

Post by fmw42 »

I am getting some odd warning message from processing of png to grayscale. Are these to be ignored or significant? Can or should they be suppressed?

convert logo: -colorspace gray logog.png
convert logog.png -negate logogn.png
incorrect gamma=(0/100000)
convert: Ignoring incorrect gAMA value when sRGB is also present `logog.png' @ warning/png.c/MagickPNGWarningHandler/1754.

User avatar
Site Admin
Posts: 11254
Joined: 2003-05-31T11:32:55-07:00

Re: PNG warning messages IM Q16 Mac OSX Snow Leopar

Post by magick »

The logo image include a sRGB color profile. We need to remove the profile when the colorspace is converted to grayscale. We'll get a patch into ImageMagick 6.7.8-1 Beta by sometime tomorrow.