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 **

And can you also specify the data type of Width/Height and the values?


Viewing all articles
Browse latest Browse all 1011

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>