QuantizeImage() is Slow!

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
stanleyweike

QuantizeImage() is Slow!

Post by stanleyweike »

Hi,

I was using QuantizeImage() to change image to greyscale and restrict color number to 2 color, nothing fancy, but it is extremely slow. Anyone knows anyway to boost it or any function to replace it?

thanks
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Post by magick »

Use one of the thresholding methods to reduce an image to 2 colors quickly.
Post Reply