potential +dither bug in IM 6.6.2-4 Q16

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

potential +dither bug in IM 6.6.2-4 Q16

Post by fmw42 »

IM 6.6.2-4 Q16 Mac OSX Tiger

I have written a new script that appears to be having problems disabling dithering. Rather than repeat the script, I have simplified an example to show this.

If I start with JPG or PNG with lots of colors and end with a gif, then I get dithering even with +dither in command line. This does not happen if I start with 256 color or less GIF.

Here are the test input images:

JPG
Image
PNG
http://www.fmwconcepts.com/misc_tests/d ... radise.png
GIF
http://www.fmwconcepts.com/misc_tests/d ... radise.gif

Processing:

JPG:
convert birdofparadise.jpg -sample 5% -scale 2000% +dither birdofparadise_pixelize_jpg.gif
Image

Notice above that several squares on the left side show a speckling that I presume is due to dither. Other squares show similar speckling if the image is made brighter


PNG:
convert birdofparadise.png -sample 5% -scale 2000% +dither birdofparadise_pixelize_png.gif
http://www.fmwconcepts.com/misc_tests/d ... ze_jpg.gif

GIF:
convert birdofparadise.gif -sample 5% -scale 2000% +dither birdofparadise_pixelize_gif.gif
http://www.fmwconcepts.com/misc_tests/d ... ze_gif.gif
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: potential +dither bug in IM 6.6.2-4 Q16

Post by magick »

Look for a patch to the problem you reported in ImageMagick 6.6.2-5 Beta in about an hour. Thanks.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: potential +dither bug in IM 6.6.2-4 Q16

Post by fmw42 »

Thanks. The beta seems to have fixed the bug. My test case has no speckle and my script does not produce any speckle either.

Fred
Post Reply