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
Creating image from raw RGBA data with C APIs
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Creating image from raw RGBA data with C APIs
The depth setting is used with the size setting to set the image size and number of bits per value.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: Creating image from raw RGBA data with C APIs
What do you mean? I need to determine which functions to use to convert my incoming RGBA image data to an ImageMagick Image.anthony wrote:The depth setting is used with the size setting to set the image size and number of bits per value.