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

Use imagemagick in c#

Aug 21, 2016 at 9:35 AM
How do i do the following commandline command in c#:
magick -evaluate-sequence mean (or convert -evaluate-sequence mean)

Maarten
Coordinator
Aug 21, 2016 at 10:18 AM
You will need the MagickImageCollection class for that. Below is a simple example:
using (MagickImageCollection images = new MagickImageCollection())
{
  images.Add("a.jpeg");
  images.Add("b.jpeg");

  using (MagickImage mean = images.Evaluate(EvaluateOperator.Mean))
  {
  }
}