possible bug PNG adding profiles IM 6.8.9.5 Q16 Mac OSX

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug PNG adding profiles IM 6.8.9.5 Q16 Mac OSX

Post by fmw42 »

I am not sure if this is a bug or not. If not a bug, what does the message mean?

Code: Select all

convert rose: rose.png

Code: Select all

convert rose.png -profile /users/fred/images/profiles/sRGB.icc -profile /users/fred/images/profiles/AdobeRGB1998.icc rose2.png
convert: Not recognizing known sRGB profile that has been edited `rose2.png' @ warning/png.c/MagickPNGWarningHandler/1831.
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: possible bug PNG adding profiles IM 6.8.9.5 Q16 Mac OSX

Post by glennrp »

It is due to libpng-1.6 being overly fussy about sRGB profiles. IM-6.8.9-5 has new code to remove some of those warnings, but it requires libpng-1.6.12 for that, so you could try upgrading your libpng delegate.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: possible bug PNG adding profiles IM 6.8.9.5 Q16 Mac OSX

Post by fmw42 »

Thanks. Upgraded from 1.6.10 to 1.6.12. That worked.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: possible bug PNG adding profiles IM 6.8.9.5 Q16 Mac OSX

Post by snibgo »

We also get these warnings on the pre-built Windows versions, eg the current 6.8.9-5. Perhaps whoever builds this can include the upgraded libpng.
snibgo's IM pages: im.snibgo.com
User avatar
dlemstra
Posts: 1570
Joined: 2013-05-04T15:28:54-07:00
Authentication code: 6789
Contact:

Re: possible bug PNG adding profiles IM 6.8.9.5 Q16 Mac OSX

Post by dlemstra »

I will update libPNG under windows to 1.6.12
.NET + ImageMagick = Magick.NET https://github.com/dlemstra/Magick.NET, @MagickNET, Donate
Post Reply