TGA -- TARGA Image File Format

Added in version 3.2.

Driver short name

TGA

Driver built-in by default

This driver is built-in by default

The TGA driver currently supports reading TGA 2.0 files.

The driver supports reading 1 (grey-level or paletted), 3 (RGB), and 4 (RGBA, or RGB-undefined) band images. The driver supports both uncompressed or RLE-compressed images. Top-left or bottom-left origins are supported (if the later, the lines are re-order to expose a top-left order). 16-bit RGB encoded images are also supported.

The following metadata items may be reported: IMAGE_ID, AUTHOR_NAME and COMMENTS. The extended area is used to determine if the fourth band is an alpha channel or not.

Driver capabilities

Supports VirtualIO

This driver supports virtual I/O operations (/vsimem/, etc.)