Simple Image Loading LibrarY
0.1.0
|
30 #ifndef _SILLYImageLoader_h_
31 #define _SILLYImageLoader_h_
32 #include "SILLYBase.h"
109 #ifdef SILLY_OPT_INLINE
110 #include "SILLYImageLoader.icpp"
113 #endif // end of guard _SILLYImageLoader_h_
Simple Image Loading LibrarY namespace.
PixelFormat
List all pixel format supported.
Store the data needed by an ImageLoader object during the parsing of an image.
virtual bool loadImageData(PixelOrigin origin, DataSource *data, ImageContext *context)=0
Parse the pixels data of the image and fill the header struct.
PixelOrigin
List all pixel origin supported.
This is an abstract class used to provide data to the loader.
virtual ImageContext * loadHeader(PixelFormat &formatSource, DataSource *data)=0
Parse the header of the image and fill the header struct.
This is an abstract class that define the interface of all image loader.
virtual ~ImageLoader()
Destructor.
ImageLoader(const char *name)
Constructor.
const char * getIdentifierString() const
Return the name of the loader.