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

Monochrome Option

Jan 22, 2016 at 7:17 PM
Does Magick.NET support the ImageMagick -monochrome option? I can't seem to find an example.

Thanks,
Craig
Coordinator
Jan 22, 2016 at 10:19 PM
The -monochrome option is an option for when you read an image. And that is why I added this property to the MagickReadSettings class. Below is a simple example.
using (MagickImage image = new MagickImage())
{
  MagickReadSettings readSettings = new MagickReadSettings()
  {
    UseMonochrome = true
  };
  image.Read("your-file", readSettings);
}