RGB and PNG bug

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
IamWiBu
Posts: 1
Joined: 2012-11-28T16:55:04-07:00
Authentication code: 6789

RGB and PNG bug

Post by IamWiBu »

The command:

Code: Select all

convert -size 1280x720 xc:"rgb(136,136,136)" 1${pn1}.png
Seems to output a white rectangle, it should be grey.

GIF output works fine, only seems to be an issue with PNG.

ImageMagick 6.8.0.7
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Re: RGB and PNG bug

Post by glennrp »

Yes, I'm seeing it too with this smaller test:

Code: Select all

convert -size 1x1 xc:"rgb(136,136,136)" 1.png
convert 1.png txt:-
# ImageMagick pixel enumeration: 1,1,255,srgb
0,0: (255,255,255)  #FFFFFF  white
IM-6.7.9-10 produces the correct result.
IM-6.8.0-1 produces a white pixel.
I'm testing a fix for IM-6.8.0-8.
[edit] Fixed in SVN revision 10061, IM-6.8.0-8.
Post Reply