Page 1 of 1

Registering an exception handler with MagickWand

Posted: 2009-10-15T04:49:24-07:00
by Xandros
Hi,

it would be wonderful to have a MagickWand method that could be called just after MagickWandGenesis in order to define an exception handler function in the caller code. Right now it's quite painful to have to check the return value of each MagickWand method to see if an exception is to be handled or not. Such a method is available in MagickCore already, but each MagickWand method implementation registers an exception handler internally, so it wouldn't probably work to use MagickCore's method.

Is this enhancement likely to be available sometime please ?

Thanks !

Re: Registering an exception handler with MagickWand

Posted: 2009-10-15T06:21:27-07:00
by magick
We added your request to our list of thing to do list. We currently do not have an ETA on when it will be available. In the mean-time you should be able to use the MagickCore exception handler set method to register an exception handler for MagickWand.

Re: Registering an exception handler with MagickWand

Posted: 2009-10-15T06:54:18-07:00
by Xandros
Thanks, great !