Creating image from raw RGBA data with C APIs
Posted: 2012-10-16T04:21:47-07:00
Hi there,
I'm using ImageMagick Wand/core APIs to process some images. I have an image coming in to my code that is a lump of data, void*, in RGBA format with 32 bpp. However, my ImageMagick is compiled with a different bit depth (QuantumDepth of 16, 64 bpp).
How can I convert the incoming RGBA image data to an ImageMagick Image?
Kind regards,
Bob Ham
I'm using ImageMagick Wand/core APIs to process some images. I have an image coming in to my code that is a lump of data, void*, in RGBA format with 32 bpp. However, my ImageMagick is compiled with a different bit depth (QuantumDepth of 16, 64 bpp).
How can I convert the incoming RGBA image data to an ImageMagick Image?
Kind regards,
Bob Ham