Logo Search packages:      
Sourcecode: jmagick version File versions  Download package

native boolean magick::MagickImage::quantizeImage ( QuantizeInfo  quantizeInfo  )  throws MagickException

Analyzes the colors within a reference image and chooses a fixed number of colors to represent the image. The goal of the algorithm is to minimize the difference between the input and output image while minimizing the processing time.

quantizeInfo contains parameters for quantization
a boolean value indicating success of the process
MagickException on error

Referenced by setGrayscale().

Generated by  Doxygen 1.6.0   Back to index