#include <gelImage.h>
List of all members.
Static Public Member Functions |
| static int | readPNG (const GelString &filename, GelImageData *image, bool po2=false) |
| | Reads a PNG image file from disk.
|
| static int | writePNG (const GelString &filename, GelImageData *image) |
| | Writes a PNG image file to disk.
|
| static int | readTGA (const GelString &filename, GelImageData *image, bool po2=false) |
| | Reads a Targa image file from disk.
|
| static int | writeTGA (const GelString &filename, GelImageData *image, ColorMode cmode, bool compress) |
| | Writes a Targa image file to disk.
|
| static int | readJPG (const GelString &filename, GelImageData *image, bool po2=false) |
| | Reads a JPEG image file from disk.
|
| static int | writeJPG (const GelString &filename, GelImageData *image) |
| | Writes a JPEG image file to disk.
|
| static int | Gelcmode2Icmode (int cmode) |
| static ColorMode | Icmode2Gelcmode (int cmode) |
| static int | Gelcmode2GLcmode (int cmode) |
Member Function Documentation
| static int gel::GelImage::readPNG |
( |
const GelString & |
filename, |
|
|
GelImageData * |
image, |
|
|
bool |
po2 = false |
|
) |
| [static] |
Reads a PNG image file from disk.
- Parameters:
-
| filename | : The directory and name of the image. |
| image | : Structure to store image data. |
| po2 | : Specifies if the image dimensions should be expanded to a power of two. |
Writes a PNG image file to disk.
- Parameters:
-
| filename | : The directory and name of the image. |
| image | : Structure containing the image data. |
| static int gel::GelImage::readTGA |
( |
const GelString & |
filename, |
|
|
GelImageData * |
image, |
|
|
bool |
po2 = false |
|
) |
| [static] |
Reads a Targa image file from disk.
- Parameters:
-
| filename | : The directory and name of the image. |
| image | : Structure to store image data. |
| po2 | : Specifies if the image dimensions should be expanded to a power of two. |
Writes a Targa image file to disk.
- Parameters:
-
| filename | : The directory and name of the image. |
| image | : Structure containing the image data. |
| cmode | : The color mode to save the image in. |
| compress | : Whether or not the image should be RLE compressed. |
| static int gel::GelImage::readJPG |
( |
const GelString & |
filename, |
|
|
GelImageData * |
image, |
|
|
bool |
po2 = false |
|
) |
| [static] |
Reads a JPEG image file from disk.
- Parameters:
-
| filename | : The directory and name of the image. |
| image | : Structure to store image data. |
| po2 | : Specifies if the image dimensions should be expanded to a power of two. |
Writes a JPEG image file to disk.
- Parameters:
-
| filename | : The directory and name of the image. |
| image | : Structure containing the image data. |
| static int gel::GelImage::Gelcmode2Icmode |
( |
int |
cmode | ) |
[static] |
| static ColorMode gel::GelImage::Icmode2Gelcmode |
( |
int |
cmode | ) |
[static] |
| static int gel::GelImage::Gelcmode2GLcmode |
( |
int |
cmode | ) |
[static] |
The documentation for this class was generated from the following file: