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