Image guides
TGA Image Format, Explained
TGA (Truevision TGA) is an uncompressed image format long used in game development and graphics tooling. This guide explains its 24-bit and 32-bit modes and when to reach for it.
Ready to try the tool this guide describes?
What TGA is
TGA stores raw, uncompressed pixel data with a small 18-byte header. It has supported a real alpha channel in its 32-bit mode since long before many other formats did, which is part of why it remains common in texture pipelines.
24-bit vs 32-bit
32-bit TGA includes a genuine alpha channel and is the better choice when the source image has real transparency. 24-bit TGA has no alpha channel at all — transparent pixels are composited onto white before encoding, the same convention used for JPG output.
When to use it
Game engines, texture-authoring tools, and some older 3D or graphics software specifically expect .tga files. Outside that space, everyday OS photo viewers often do not open TGA without an extension.
TGA Format Explained FAQ
- Should I use 24-bit or 32-bit TGA?
- Use 32-bit if you need to keep transparency; use 24-bit for a smaller, fully opaque file.
- Is TGA output compressed?
- No. This tool writes uncompressed true-color TGA (image type 2).
- Why does game development use TGA?
- It is a simple, reliable, long-supported format with real alpha-channel support, making it a common texture-pipeline choice.
- Can I open TGA in a normal photo viewer?
- Support varies — many everyday OS viewers do not open TGA natively, unlike game engines and graphics tools.
- Where can I convert to TGA?
- Use PNG to TGA or JPG to TGA, both processed locally in your browser.
Related guides
- QOI Format ExplainedWhat QOI (Quite OK Image) is, why developer pipelines use it, and how it compares to PNG for lossless output.
- PPM Format ExplainedWhat PPM (Portable Pixmap) is, why developer and scientific tooling still uses it, and why the files are so large.
- Best Format by Use CaseA quick reference for choosing between JPG, PNG, WebP, AVIF, TIFF, ICO, TGA, QOI, and PPM based on what you are actually trying to do.