Search found 3 matches

by xtang
2013-03-19T06:06:03-07:00
Forum: Users
Topic: How to enable EncoderThreadSupport?
Replies: 0
Views: 2930

How to enable EncoderThreadSupport?

I found my image-magick do not support EncoderThreadSupport.

Is there a way to enable it?

thanks
by xtang
2013-03-18T23:53:31-07:00
Forum: Users
Topic: Problem with MagickCore::GetBlobSize
Replies: 0
Views: 2869

Problem with MagickCore::GetBlobSize

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

Code: Select all

...
Blob blob;
image.write(&blob);
void* data = blob.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?

thanks!
by xtang
2013-03-18T21:12:05-07:00
Forum: Magick++
Topic: How to access Image raw data
Replies: 0
Views: 6193

How to access Image raw data

hi, I did some transformation of image through Magick++, and at last I want to get the raw data of the processed image, which way is best practise? For example, Blob blob(src, lenOfSrc); Image image(blob); image.resize(targetGeo); ... // for now, i use the following logic to get the raw data: Blob t...