When I try to read certain images into Magick.NET using the below code I get an awful error:
using (ImageMagick.MagickImage image = new ImageMagick.MagickImage())
{
image.Read(sourceFile.FullName);
}
produces the attached error (Attempted to read or write protected memory...).
using (ImageMagick.MagickImage image = new ImageMagick.MagickImage())
{
image.Read(sourceFile.FullName);
}
produces the attached error (Attempted to read or write protected memory...).