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...).
Comments: ** Comment from web user: dlemstra **
using (ImageMagick.MagickImage image = new ImageMagick.MagickImage())
{
image.Read(sourceFile.FullName);
}
produces the attached error (Attempted to read or write protected memory...).
Comments: ** Comment from web user: dlemstra **
Are you using the latest version of Magick.NET? Can you add a link to the PDF that is causing the problem? Feel free to contact me through Codeplex if you don't want to publicly share your image.