Registering an exception handler with MagickWand
Posted: 2009-10-15T04:49:24-07:00
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 !
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 !