MemoryBufferImage::Decode

MemoryBufferImage::Decode
virtual bool Decode(ImageData* pdest, CopyScanlineFunc copyScanline, void* arg) const = 0;
Description

Decode decodes the image data into the destination ImageData, potentially converting data a scanline at a time.

Parameters
Parameters 
Description 
ImageData* pdest 
Pointer to the destination image, ImageData
CopyScanlineFunc copyScanline 
The scanline copy function type used for decoding the image. 
void* arg 
An argument which is passed into the scanline copy function. 
Return Value

Returns true if decoding was successful and false otherwise.