Registering an exception handler with MagickWand

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
Xandros
Posts: 28
Joined: 2009-10-02T09:19:49-07:00
Authentication code: 8675309

Registering an exception handler with MagickWand

Post 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 !
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Registering an exception handler with MagickWand

Post 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.
Xandros
Posts: 28
Joined: 2009-10-02T09:19:49-07:00
Authentication code: 8675309

Re: Registering an exception handler with MagickWand

Post by Xandros »

Thanks, great !
Post Reply