Unhandled exception loading an image from location (C++)

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
Citizen Erased

Unhandled exception loading an image from location (C++)

Post by Citizen Erased »

Sorry to post a new thread so soon after my last. I'm trying to load a .PNG image using Image::Image(const string& file_location_or_URL) however when I do so I get an unhandled exception:

Code: Select all

First-chance exception at 0x10023ec5 in Serial Cutter.exe: 0xC0000005: Access violation writing location 0x01788620.
Unhandled exception at 0x10023ec5 in Serial Cutter.exe: 0xC0000005: Access violation writing location 0x01788620.
If I try one of the other constructors such as Image::Image() or Image::Image(Geometry(size_x, size_y), Color color), there is no problem. What is likely to be causing this? Thanks for the help.
Citizen Erased

Re: Unhandled exception loading an image from location (C++)

Post by Citizen Erased »

Anyone have even a vague idea? It'd really help me.
Post Reply