[magick-developers] Can't Catch C++ exception throwing...

Gavin M Bell gavin at cuill.com
Tue Feb 12 11:15:06 PST 2008


Hey,

I am attempting to use image magick in my code, however, my 
instantiation of an image from a blob, throws an exception that I can't 
catch.  I am reading in a truncated jpeg on purpose and it throws an 
exception... but it passes right through my try catch.  I am on a:
Linux 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007 x86_64 GNU/Linux
box.

Has anyone seen this before?  What's the remedy?  All help welcomed :-).

I'd like to use the C++ but worse comes to worse... well... I may have 
to just use the core in C... but I'd rather not.

thanks in advance.

-- 
Gavin M. Bell
--

 "I'm trying real hard to be the shepherd."
               -Samuel Jackson (Pulp Fiction)



More information about the Magick-developers mailing list