#include "../common/platform.h"
Go to the source code of this file.
Functions | |
W8 | TGA_write (const char *filename, W16 depth, W32 width, W32 height, void *Data, W8 upsideDown, W8 rle) |
Write targa image file. |
This module is implimented by tga.c
W8 TGA_write | ( | const char * | filename, | |
W16 | bpp, | |||
W32 | width, | |||
W32 | height, | |||
void * | Data, | |||
W8 | upsideDown, | |||
W8 | rle | |||
) |
Write targa image file.
[in] | filename | Name of TGA file to save as. |
[in] | depth | Bytes per pixel. (16, 24 or 32). |
[in] | width | Width of image in pixels. |
[in] | height | Height of image in pixels. |
[in] | Data | Raw image data. |
[in] | upsideDown | Is the data upside down? 1 yes, 0 no. |
[in] | rle | Run Length encode? 1 yes, 0 no. |