Page 1 of 1

QuantizeImage() is slow!

Posted: 2007-01-02T12:57:01-07:00
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

Posted: 2007-01-02T18:33:30-07:00
by rmagick
If you're using the Q16 build of ImageMagick and you don't specifically need 16-bits-per-channel pixels, use the Q8 build instead. It's about 2x as fast. You can determine which version of ImageMagick you're using by running

Code: Select all

convert -version