30 #ifndef _SILLYPNGImageLoader_h_ 31 #define _SILLYPNGImageLoader_h_ 32 #include "SILLYBase.h" 33 #include "SILLYImageLoader.h" 34 #include "SILLYDataSource.h" 62 #ifdef SILLY_OPT_INLINE 63 #include "SILLYPNGImageLoader.icpp" 66 #endif // end of guard _SILLYPNGImageLoader_h_ PixelFormat
List all pixel format supported.
ImageContext * loadHeader(PixelFormat &formatSource, DataSource *data)
Parse the header of the image and fill the header struct.
bool loadImageData(PixelOrigin origin, DataSource *data, ImageContext *context)
Parse the pixels data of the image and fill the header struct.
This is an abstract class that define the interface of all image loader.
PixelOrigin
List all pixel origin supported.
Store the data needed by an ImageLoader object during the parsing of an image.
Simple Image Loading LibrarY namespace.
This is an abstract class used to provide data to the loader.