Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Read Pdf image using Magick.NET-x86.dll, StackOverflow exception?

$
0
0
I am also getting the error "An unhandled exception of type 'System.StackOverflowException' occurred in Magick.NET-x86.dll", I am using Visual Studio 2010, my C# MVC project platform target is x86 and successfully builds.
using (var images = new MagickImageCollection())
{
var pdfSettings = new MagickReadSettings { FrameIndex = 0, FrameCount = 1 };
images.Read(file, pdfSettings);
}
I have GhostScript (gs916w32.exe), Magick.NET-7.0.0.0011-Q16-x86-net40-client and Visual C++ Redistributable for Visual Studio 2012 Update 4 (vcredist_x86) installed but still this issuer persists when trying to read a pdf file.

I have tried multiple pdf files and even created a few from scratch to ensure no possible file corruption.

Can someone please advise as how to resolve this issue?

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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