Unhandled exception on read

Magick++ is an object-oriented C++ interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning Magick++.
Post Reply
Posts: 1
Joined: 2012-12-10T09:38:06-07:00
Authentication code: 6789

Unhandled exception on read

Post by peterakos » 2012-12-10T09:48:24-07:00


I have downloaded image magick from: http://www.imagemagick.org/script/binary-releases.php
using the installation file for windows ImageMagick-6.8.0-8-Q16-windows-dll.exe

When i run the button example from Magick++ Demo solution, i get a unhandled exception while using button.read( backGround ) (line: 61).
I also get exactly the same unhandled exception when i use
Image image("my_image.jpg").

The same happens with this code:

Image image( "300x300", "white" );
try {
image.write("any_image.png"); //(unhandled exception here)
}catch( exception &error_ ) {
cout << "Caught exception: " << error_.what() << endl;
return 1;
It doesnt enter the catch block.

do i miss something ?


Post Reply