Quantcast
Channel: magick Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 1011

Commented Unassigned: Access violation when Resize and write. [1162]

$
0
0
using (MagickImage image = new MagickImage(src))
{
image.Resize(Width, Height);
image.Quality = 70;
image.Write(dst);
}


Exception Info: System.AccessViolationException
Stack:
at <Module>.Magick.Image.write(Magick.Image*, std.basic_string<char,std::char_traits<char>,std::allocator<char> >*)
at <Module>.Magick.Image.write(Magick.Image*, std.basic_string<char,std::char_traits<char>,std::allocator<char> >*)
at ImageMagick.MagickWriter.Write(Magick.Image*, System.String)
at GMS.Services.ImageFeed.ImagesFeedService+<>c__DisplayClass24.<Resize>b__23()
Comments: ** Comment from web user: dlemstra **

What is your Magick.NET version? And what is the value of dst and what are you using as your input image?


Viewing all articles
Browse latest Browse all 1011

Trending Articles