Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages
csImageTools Class Reference
[Graphics]
Some helper functions to deal with iImage objects.
More...
#include <csgfx/imagetools.h>
Static Public Member Functions | |
size_t | ComputeDataSize (iImage *img) |
Compute the size of an image data, in bytes. | |
int | ClosestPaletteIndex (const csRGBpixel *Palette, const csRGBpixel &iColor, int palEntries=256) |
Return the closest palette index to given color. |
Detailed Description
Some helper functions to deal with iImage objects.
Definition at line 37 of file imagetools.h.
Member Function Documentation
|
Return the closest palette index to given color.
|
|
Compute the size of an image data, in bytes.
Definition at line 41 of file imagetools.h. References iImage::GetDepth(), iImage::GetFormat(), iImage::GetHeight(), and iImage::GetWidth(). |
The documentation for this class was generated from the following file:
- csgfx/imagetools.h
Generated for Crystal Space by doxygen 1.3.9.1