title: Image histogram with mini_magick or image_science?
body: <p>Is it possible to fetch the <a href="http://studio.imagemagick.org/RMagick/doc/image1.html#color_histogram" rel="nofollow noreferrer">histogram</a> of an image with mini_magick or image_science? </p>
  
  <p>I am afraid mini_magicks usage of <em>mogrify</em> does not allow such information retrieval. image_science is hardly documented and seems to be limited to thumbnail scaling and cropping only.</p>
  
  <p>One route to take, would be to iterate over each pixel and extract its values, in Ruby. But that requires information on pixels, which I cannot get to in mini_magick either.</p>
  
  <p>I can fallback to either RMagick or im_magick, but those are either less popular/unknown or  reportedly bad in performance.</p>
  
  <p>For the record: this is a part of an earlier question about finding the <a href="https://stackoverflow.com/questions/4935380/get-or-calculate-the-entropy-of-an-image-with-ruby-and-imagemagick">entropy of parts of images</a>.</p>