31 #ifndef _SILLYImage_h_
32 #define _SILLYImage_h_
33 #include "SILLYBase.h"
34 #include "SILLYImageContext.h"
35 #include "SILLYDataSource.h"
36 #include "SILLYImageLoader.h"
46 class SILLY_EXPORT Image
55 Image(DataSource& data);
76 bool loadImageHeader();
97 size_t getWidth()
const;
103 size_t getHeight()
const;
120 const byte* getPixelsDataPtr()
const;
125 size_t getPixelsDataSize()
const;
130 const char* getLoaderIdentifierString()
const;
140 ImageContext* d_imageContext;
141 ImageLoader* d_imageLoader;
145 Image& operator=(Image&);
151 #ifdef SILLY_OPT_INLINE
152 #include "SILLYImage.icpp"
155 #endif // end of guard _SILLYImage_h_