34#include "SILLYImageContext.h"
35#include "SILLYDataSource.h"
36#include "SILLYImageLoader.h"
76 bool loadImageHeader();
151#ifdef SILLY_OPT_INLINE
152#include "SILLYImage.icpp"
Simple Image Loading LibrarY namespace.
PixelFormat
List all pixel format supported.
PixelOrigin
List all pixel origin supported.
This is an abstract class used to provide data to the loader.
Image is the main user class of the library.
PixelFormat getSourcePixelFormat() const
Retrieve the pixel format used for the image storage.
const char * getLoaderIdentifierString() const
Get Image loader identifier string.
const byte * getPixelsDataPtr() const
Get a pointer to the pixels data.
bool isValid() const
Return true if the image is valid after its loading.
size_t getPixelsDataSize() const
Get the size of the pixel buffer.
size_t getWidth() const
Retrieve the width of the image.
PixelFormat getPixelFormat() const
Retrieve the pixel format of the resulting image.
size_t getHeight() const
Retrieve the height of the image.
Store the data needed by an ImageLoader object during the parsing of an image.
This is an abstract class that define the interface of all image loader.