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