TGA

#include <eglib/display/tga.h>

Configuration

tga_config_t

Configuration for tga.

See also

eglib_Init().

coordinate_t width

TGA width

coordinate_t height

TGA height

Driver

const display_t tga

TGA display driver.

Buffers image in memory which can be written to a file with tga_Save().

This driver is mainly useful for testing.

This driver supports the following data buses:

  • 4-Wire SPI.

See also

eglib_Init().

Functions

These functions can be used exclusively with eglib_t initialized with tga.

void tga_Save(eglib_t * eglib, char * path)

Saves TGA to given file path.

See also

tga.

void tga_Free(eglib_t * eglib)

Free memory previously allocated by eglib_Init() for tga..