--- a/Orb/Doxygen/src/image.h Fri Apr 23 20:47:58 2010 +0100
+++ b/Orb/Doxygen/src/image.h Wed Aug 11 14:49:30 2010 +0100
@@ -3,7 +3,7 @@
*
*
*
- * Copyright (C) 1997-2008 by Dimitri van Heesch.
+ * Copyright (C) 1997-2010 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -49,4 +49,21 @@
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