Hi ..
I have a simple test for generate a thumbnail (i went verify the performance versus GDI+). I am using this code:
imageoriginal contains an image file (tif, jpg, png, bmp)
I get the last version with nuget.
I have a simple test for generate a thumbnail (i went verify the performance versus GDI+). I am using this code:
public Image ResizeImage(string imageoriginal , int newWidth, int newHeight)
{
ImageMagick.MagickImage img =new ImageMagick.MagickImage(imageoriginal);
//ImageMagick.MagickGeometry geometry = new ImageMagick.MagickGeometry("90x90!");
img.Resize(90, 90); //<--- error ocurs here.
return img.ToBitmap();
}
Attempted to read or write protected memory. This is often an indication that other memory is corrupt.imageoriginal contains an image file (tif, jpg, png, bmp)
I get the last version with nuget.