diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-03-24 20:39:59 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2010-03-24 20:39:59 (GMT) |
commit | 707831ea739af5ae137c9cc1d04e3ffbbde11a6a (patch) | |
tree | 1e47a4443afb2ec61f032669050ee1b8834baa8d /src/image.h | |
parent | 23b0a90048405fda4e4304052c3c1277c33a6a2b (diff) | |
download | Doxygen-707831ea739af5ae137c9cc1d04e3ffbbde11a6a.zip Doxygen-707831ea739af5ae137c9cc1d04e3ffbbde11a6a.tar.gz Doxygen-707831ea739af5ae137c9cc1d04e3ffbbde11a6a.tar.bz2 |
Release-1.6.3-20100324
Diffstat (limited to 'src/image.h')
-rw-r--r-- | src/image.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/image.h b/src/image.h index 6946811..ee0dd9e 100644 --- a/src/image.h +++ b/src/image.h @@ -49,4 +49,21 @@ class Image uchar *data; }; +class ColoredImage +{ + public: + ColoredImage(int width,int height, + const uchar *greyLevels,const uchar *alphaLevels, + int saturation,int hue,int gamma); + ~ColoredImage(); + bool save(const char *fileName); + static void hsl2rgb(double h,double s,double l, + double *pRed,double *pGreen,double *pBlue); + private: + int m_width; + int m_height; + uchar *m_data; + bool m_hasAlpha; +}; + #endif |