libCZI
Reading and Writing CZI documents made easy
|
The interface used for operating image decoder. That is the simplest possible interface at this point... More...
#include <libCZI_Site.h>
Public Member Functions | |
virtual std::shared_ptr< libCZI::IBitmapData > | Decode (const void *ptrData, size_t size, libCZI::PixelType pixelType, std::uint32_t width, std::uint32_t height)=0 |
The interface used for operating image decoder. That is the simplest possible interface at this point...
|
pure virtual |
Passing in a block of raw data, decode the image and return a bitmap object.
ptrData | Pointer to a a block of memory (which contains the encoded image). |
size | The size of the memory block pointed by ptrData . |
pixelType | The pixel type of the expected bitmap. |
width | The width of the expected bitmap, used for validation purposes only. |
height | The height of the expected bitmap, used for validation purposes only. |