diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2010-03-24 20:39:59 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2010-03-24 20:39:59 (GMT) |
commit | eb1cb68e11a3b24222a49ed254f8f7aea2f73bae (patch) | |
tree | 1e47a4443afb2ec61f032669050ee1b8834baa8d /src/image.h | |
parent | cd19d7a220915d1f637e0a0a5b2d05d5750f5db0 (diff) | |
download | Doxygen-eb1cb68e11a3b24222a49ed254f8f7aea2f73bae.zip Doxygen-eb1cb68e11a3b24222a49ed254f8f7aea2f73bae.tar.gz Doxygen-eb1cb68e11a3b24222a49ed254f8f7aea2f73bae.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 |