Search found 3 matches

by petke
2011-05-31T04:12:50-07:00
Forum: Developers
Topic: Passing separate r,g,b buffers to Magick::Image constructor?
Replies: 0
Views: 3725

Passing separate r,g,b buffers to Magick::Image constructor?

The Magick::Image has the following constructor: Magick::Image image(width, height, "RGB", Magick::CharPixel, (const void*)rgbbuffer); My application has separete buffers for r g b and I would ideally like to use them directly.. instead of having to create an interleaved rgb buffer just to be able ...
by petke
2011-05-24T07:20:36-07:00
Forum: Developers
Topic: YUV frame to image example?
Replies: 3
Views: 10065

Re: YUV frame to image example?

Hi > What image format is the image blob? I was hoping you could tell me what YUV formats Magick::Blob/Magick::Image can work with, so that I know how to programatically create one. Just to clarify. Im not using the imagemagick command line tool, but the magick++ API. My use case here is I have a ...
by petke
2011-05-20T07:38:56-07:00
Forum: Developers
Topic: YUV frame to image example?
Replies: 3
Views: 10065

YUV frame to image example?

I understand that it should be possible to: 0) Fill a raw data buffer with some a frames worth of values (say a YUV422 planar or interleaved buffer) 1) Create a YUV blob from the raw data buffer. 2) Create an image from the blob. I have not managed to get this to work, or find any info how it should ...