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