doc-en
doc-en copied to clipboard
quantizeImage/quantizeImages details incorrect/lacking
From manual page: https://php.net/imagick.quantizeimage
"Imagick::quantizeImage — Analyzes the colors within a reference image"
This isn't correct, nothing is being analyzed, and no analysis is returned. Rather, it reduces the number of colors in the image. Perhaps it does some analysis in order to do so.... This method seems quite finicky, so it's probably worth adding in some actual documentation about what it does.
Oh, indeed, that doc page needs an overhaul. https://phpimagick.com/Imagick/quantizeImage?colorspace=RGB&number_colors=64&tree_depth=1&dither=Enabled&image_path=Lorikeet might be helpful (note that the dither flag is apparently inversed; cc @Danack).