Page 1 of 1

RGB and PNG bug

Posted: 2012-11-28T16:59:23-07:00
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

Re: RGB and PNG bug

Posted: 2012-11-28T18:07:05-07:00
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.