#include <BMPClass.h>
|
enum | ImageFormat |
| enumeration of supported texture format
|
|
TinyImage specialized for BMP management.
◆ anonymous enum
enumeration of RLE compression modes
Enumerator |
---|
RLE_8BITS | no compression used
|
RLE_4BITS | RLE 8bits compression.
|
◆ BMPClass()
BMPClass::BMPClass |
( |
FileHandle * |
fileName | ) |
|
|
protected |
constructor
- Parameters
-
filename | the name of the file to load |
◆ Load()
bool BMPClass::Load |
( |
FileHandle * |
fileName | ) |
|
|
protectedvirtual |
load image from file
- Parameters
-
filename | the name of the file to load |
Reimplemented from TinyImage.
◆ UncompressRLE4bits()
void BMPClass::UncompressRLE4bits |
( |
u8 * |
bytes, |
|
|
ReadColorFunc |
func, |
|
|
unsigned int |
outPixelSize |
|
) |
| |
|
protected |
decompress the image using RLE 4bits decompression
- Parameters
-
bytes | the bytes of the image to decompress |
◆ UncompressRLE8bits()
void BMPClass::UncompressRLE8bits |
( |
u8 * |
bytes, |
|
|
ReadColorFunc |
func, |
|
|
unsigned int |
outPixelSize |
|
) |
| |
|
protected |
decompress the image using RLE 8bits decompression
- Parameters
-
bytes | the bytes of the image to decompress |
The documentation for this class was generated from the following files:
- G:/Projects/Github/kigs/framework/TinyImage/Headers/BMPClass.h
- G:/Projects/Github/kigs/framework/TinyImage/Sources/BMPClass.cpp