Read raw image data from memory

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?".
Post Reply
emimull
Posts: 1
Joined: 2012-04-03T06:18:36-07:00
Authentication code: 8675308

Read raw image data from memory

Post by emimull »

Hello! I am new to ImageMagick and MagickWand. I want to read raw image data directly from memory. Is MagickReadImageBlob() the right way to go? Is a 'blob' an array of bytes?
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Read raw image data from memory

Post by anthony »

A blob is just a 'binary string' on known length. In ImageMagick it is typically a 'image file in memory'.

MagickReadImageBlob() sounds like exactly what you need, at least without knowing a lot more information.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply