Custom memory allocator

The MagickWand interface is a new high-level C API interface to ImageMagick core methods. We discourage the use of the core methods and encourage the use of this API instead. Post MagickWand questions, bug reports, and suggestions to this forum.
Post Reply
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

Custom memory allocator

Post by mkoppanen »

Hello Wizards,

Is it possible to provide something like SetMagickMemoryMethods for the MagickWand API? Or is there a way to use it with MagickWand?
Mikko Koppanen
My blog: http://valokuva.org
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Custom memory allocator

Post by magick »

All MagickCore methods are available from the MagickWand API. Did you try calling SetMagickMemoryMethods() from your MagickWand C source module?
mkoppanen
Posts: 309
Joined: 2007-06-09T07:06:32-07:00

Re: Custom memory allocator

Post by mkoppanen »

This is new information to me! I'll test this and report back results. Thanks!
Mikko Koppanen
My blog: http://valokuva.org
Post Reply