summaryrefslogtreecommitdiffstats
path: root/src/image.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-03-24 20:39:59 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2010-03-24 20:39:59 (GMT)
commit707831ea739af5ae137c9cc1d04e3ffbbde11a6a (patch)
tree1e47a4443afb2ec61f032669050ee1b8834baa8d /src/image.h
parent23b0a90048405fda4e4304052c3c1277c33a6a2b (diff)
downloadDoxygen-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.h17
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