Problem with MagickCore::GetBlobSize

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Posts: 3
Joined: 2013-03-18T21:01:48-07:00
Authentication code: 6789

Problem with MagickCore::GetBlobSize

Post by xtang »

hi, I want to get the data pointer of Magick::Image.
Here is a way:

Code: Select all

Blob blob;
void* data =;
But Magick::Image.write(Blob&) have to alloc a new memory to keep the data. How can I get the data pointer of Magick:Image directly?