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

Closed Unassigned: DrawableCompositeImage -> SEHException [1279]

$
0
0
I'm getting a SEHException when trying to create an instance of the DrawableCompositeImage class. I've tried multiple different images (gif and png) and get the same exception (native debugging enabled):

First-chance exception at 0x7692C42D in MagickNETDCI.exe: Microsoft C++ exception: Magick::ErrorOption at memory location 0x0019EE8C.
A first chance exception of type 'System.Runtime.InteropServices.SEHException' occurred in Magick.NET-x86.dll

I've tried multiple different versions of the Nuget package for .NET (Q8-AnyCPU, Q16-AnyCPU, Q16-x86) and they all produce the same SEHException.

To reproduce, the following code should suffice while using the attached image:
```
MagickImage baseImage = new MagickImage(MagickColor.Transparent, 300, 300);
MagickImage icon = new MagickImage("subject0.gif");

// Exception thrown here
DrawableCompositeImage dci = new DrawableCompositeImage(10, 10, icon);

baseImage.Draw(dci);
baseImage.Write("output.gif");
```

Any thoughts as to what the problem could be? I've tried both disabling OpenCL and loading the "icon" image through a Bitmap object. Neither helped.

Or if there is a better way to accomplish what I am attempting, that would be great also. Essentially I have a base image that I want to drop some small graphics onto at specific locations.

thanks,
-kh
Comments: Resolved with changeset 34873: Fixed constructor of DrawableCompositeImage

Viewing all articles
Browse latest Browse all 1011

Trending Articles