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
Posts: 1
Joined: 2011-02-17T15:11:30-07:00
Authentication code: 8675308


Post by vipersnake » 2011-02-17T15:13:42-07:00

Is there a way to call MagickConstituteImage and pass in pixel data without it copying the data? i.e. the format matches internally so it uses the data without copying it.

I have an existing image data that is in ARGB 32bit char and it would be easier and more efficient to send in the existing data that it uses. This would also alleviate the need to extract it possibly.

User avatar
Site Admin
Posts: 11077
Joined: 2003-05-31T11:32:55-07:00

Re: MagickConstituteImage

Post by magick » 2011-02-17T17:56:51-07:00

The MPC image format is similar to what you're asking. However, it memory maps the pixel cache from disk whereas you want to map it directly from memory. Direct mapping of pixels in memory is not currently supported. We'll add it to the to-do list but we currently do not have an ETA on its implementation.

Post Reply