What is TGA (Truevision TGA)?
Complete guide to the TGA file format
Last updated:
What is TGA (Truevision TGA)?
TGA (Truevision TGA or TARGA) is a raster image format developed in 1984 by Truevision. It was the first affordable way to display color images on personal computers.
Despite its age, TGA remains widely used in 3D graphics, video game development, and visual effects because of its simplicity, lossless compression options, and reliable compatibility with 3D software.
How TGA Works
A TGA file consists of a fixed header describing image dimensions, pixel depth, and color type, followed by the pixel data, which may be stored uncompressed or compressed with simple run-length encoding (RLE).[3] It supports color-mapped, grayscale, and true-color images, and notably includes an 8-bit alpha channel in its 32-bit mode, which made it valuable for compositing long before alpha support was common.[1]
Versions and the Extension Area
The format was revised to version 2.0 in 1989, which added a footer and an optional extension area carrying metadata such as author, timestamp, gamma, and an embedded thumbnail.[1] The presence of the signature string TRUEVISION-XFILE in the footer distinguishes version 2 files from the original version 1 layout, which had no footer.[2]
Why It Persists in Graphics Pipelines
TGA's RLE compression is lossless but only modestly effective, so files remain relatively large compared with modern formats.[3] Its enduring appeal in game and effects work comes from a straightforward structure that is trivial to read and write and from reliable alpha-channel handling across 3D tools.[1]
Technical Details
TGA vs Other Image Formats
| Feature | TGA | PNG | BMP |
|---|---|---|---|
| Type | Raster | Raster | Raster |
| Compression | RLE or none[1] | Lossless | None or RLE |
| Color depth | Up to 32-bit[1] | Up to 16-bit | Up to 32-bit |
| Transparency | Alpha channel[3] | Yes | Limited |
| Origin | Truevision[1] | W3C | Microsoft |
| Best for | Game textures, art | Web graphics | Windows images |
TGA supports alpha and optional RLE compression and remains common in game and rendering pipelines, though PNG offers better lossless compression for the web.
Pros and Cons
Advantages
TGA is natively supported by virtually every 3D modeling and rendering application.
32-bit TGA includes a full alpha channel for transparency.
TGA's simple structure makes it easy to read and write programmatically.
TGA has no patents or licensing restrictions.
Disadvantages
TGA is not supported by web browsers without conversion.
Uncompressed TGA files are very large compared to PNG or JPEG.
For most uses, PNG is a better modern alternative to TGA.
Regular users rarely encounter TGA - it is primarily a professional format.
When to Use TGA (Truevision TGA)
Here are the most common situations where TGA (Truevision TGA) is the right choice:
Game Development
TGA is a common texture format in game development for Unity, Unreal Engine, and 3ds Max.
3D Rendering
Cinema 4D, Maya, and Blender render to TGA for sequence rendering pipelines.
VFX Pipelines
Visual effects workflows use TGA for image sequences due to its simplicity.
Legacy Systems
Older game engines and 3D tools use TGA as their native texture format.
Convert TGA (Truevision TGA) Files
Need to convert your TGA files? Use our free online converter.
Try Image Converter FreeFrequently Asked Questions about TGA (Truevision TGA)
What is TGA used for?
TGA is primarily used in 3D graphics, game development, and visual effects for texture maps and render sequences.
Is TGA better than PNG?
For web use, PNG is better. For 3D/game workflows, TGA is often preferred due to broader tool support.
Can I open TGA in Photoshop?
Yes, Photoshop natively supports TGA files including the alpha channel.
How do I convert TGA to PNG?
Use Photoshop, GIMP, or our free online converter to convert TGA to PNG.
Does Unity support TGA?
Yes, Unity supports TGA as a texture format natively.