Please port OrderedPosterizeImage to IM7

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
User avatar
glennrp
Posts: 1147
Joined: 2006-04-01T08:16:32-07:00
Location: Maryland 39.26.30N 76.16.01W

Please port OrderedPosterizeImage to IM7

Post by glennrp »

The OrderedPosterizeImageChannel method has not been ported from IM6 to IM7, so IM7 falls back on the original bi-level OrderedDitherImage method.

Given a black-to-white gradient image, compare IM-7.0.2-9

Code: Select all

magick gradient.png -ordered-dither o8x8,6 od_o8x8_6_im7.png
which has only black or white pixels with IM-6.9.5-7

Code: Select all

convert gradient.png -ordered-dither o8x8,6 od_o8x8_6_im6.png
whch has six levels of gray pixels
Post Reply