This project has moved. For the latest updates, please go here.

Generating a Histogram

Jul 22, 2015 at 7:56 PM
I see that there is a Histogram feature with ImageMagick and also noted that you can create a Dictionary object utlizing the histogram() method. Is there a way to actually generate a histogram as an image file. When I applied the method to my image I assumed it would generate a MIFF file which would then be converted to the format I tried saving it as but that does not seem to have an affect.
Coordinator
Jul 22, 2015 at 10:20 PM
You should be able to get a histogram image with following code:
using (MagickImage image = new MagickImage("logo:"))
{
  image.Write("histogram:your-histogram.gif");
}