image.h File Reference
An
image abstraction for working with
image data.
More...
#include <nds/arm9/video.h>
#include <nds/arm9/pcx.h>
Detailed Description
An
image abstraction for working with
image data.
Function Documentation
| void image24to16 |
( |
sImage * |
img |
) |
|
Converts a 24 bit image to 16 bit.
- Parameters:
-
| img | a pointer to image to manipulate |
| void image8to16 |
( |
sImage * |
img |
) |
|
| void image8to16trans |
( |
sImage * |
img, |
|
|
u8 |
transparentColor | |
|
) |
| | |
Converts an 8 bit image to 16 bit with alpha bit cleared for the supplied palette index.
- Parameters:
-
| img | a pointer to image to manipulate |
| transparentColor | Color indexes equal to this value will have the alpha bit clear |
- Examples:
-
Graphics/3D/nehe/lesson09/source/nehe9.cpp.
| void imageDestroy |
( |
sImage * |
img |
) |
|
| void imageTileData |
( |
sImage * |
img |
) |
|