#include <image.h>
Public Member Functions | |
ColoredImage (int width, int height, const uchar *greyLevels, const uchar *alphaLevels, int saturation, int hue, int gamma) | |
~ColoredImage () | |
bool | save (const char *fileName) |
Static Public Member Functions | |
static void | hsl2rgb (double h, double s, double l, double *pRed, double *pGreen, double *pBlue) |
Private Attributes | |
int | m_width |
int | m_height |
uchar * | m_data |
bool | m_hasAlpha |
Class representing a bitmap image colored based on hue/sat/gamma settings.
ColoredImage::ColoredImage | ( | int | width, |
int | height, | ||
const uchar * | greyLevels, | ||
const uchar * | alphaLevels, | ||
int | saturation, | ||
int | hue, | ||
int | gamma | ||
) |
Definition at line 492 of file image.cpp.
ColoredImage::~ColoredImage | ( | ) |
|
static |
bool ColoredImage::save | ( | const char * | fileName | ) |
Definition at line 525 of file image.cpp.