This project has moved and is read-only. For the latest updates, please go here.

Converting a image using command line options

Oct 4, 2016 at 7:47 AM
hello I'm new to magick.net ,is there any way can run this com command using magick.net

"convert a.jpg -modulate 100,100,100 b.jpg"

i'm using Magick.NET-7.0.3.1-Q8-x86 Zip verison
Oct 4, 2016 at 7:35 PM
Most options are methods of the MagickImage class. Your example would translate to this:
using (MagickImage image = new MagickImage("a.jpg"))
{
  image.Modulate((Percentage) 100, (Percentage) 100, (Percentage) 100);
  image.Write(@"b.jpg");
}