![]() |
Public API Reference |
![]() |
Some helper functions to deal with iImage objects. More...
#include <csgfx/imagetools.h>
Static Public Member Functions | |
static int | ClosestPaletteIndex (const csRGBpixel *Palette, const csRGBpixel &iColor, int palEntries=256) |
Return the closest palette index to given color. | |
static size_t | ComputeDataSize (iImage *img) |
Compute the size of an image data, in bytes. |
Some helper functions to deal with iImage objects.
Definition at line 38 of file imagetools.h.
static int csImageTools::ClosestPaletteIndex | ( | const csRGBpixel * | Palette, |
const csRGBpixel & | iColor, | ||
int | palEntries = 256 |
||
) | [static] |
Return the closest palette index to given color.
static size_t csImageTools::ComputeDataSize | ( | iImage * | img | ) | [inline, static] |
Compute the size of an image data, in bytes.
Definition at line 42 of file imagetools.h.