can not dither posterize quantilization

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
Auguste
Posts: 2
Joined: 2011-11-18T21:37:56-07:00
Authentication code: 8675308

can not dither posterize quantilization

Post by Auguste »

according to http://www.imagemagick.org/Usage/quantize/#posterize , we can apply dither to the posterize operation.

however, withouth +dither, i get the same image that is not dithered.
and either -dither floydsteinberg or -dither riemersma failed to dither the image.

reproduction procedure:
1. download the logo.png from http://www.imagemagick.org/Usage/quantize/logo.png
2. convert logo.png +dither -posterize 2 miff:- | display -
3. convert logo.png -dither riemersma -posterize 2 miff:- | display -
4. convert logo.png -dither floydsteinberg -posterize 2 miff:- | display -
2,3,4 all produce the exactly same image.
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: can not dither posterize quantilization

Post by anthony »

I reported this when it first appeared myself. My understanding was that the change was caused by a change in the way the 'posterization' was performed. I would prefer a dithered result myself.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply