Posted: 2006-03-25T12:16:21-07:00
You can use MagickLib::GetNumberColors() to write the image histogram to a file or you can iterate over the image pixels and create the histogram yourself.
Use https://github.com/ImageMagick/ImageMagick/discussions instead.
https://imagemagick.com/discourse-server/
https://imagemagick.com/discourse-server/viewtopic.php?t=6201