TGA Image

From XentaxWiki
Jump to: navigation, search

Format Type: Image
Extensions: tga
Platforms: PC, PS1
Endian Order: Little Endian



Format Specifications

//TGA file format

//header
1 byte - ID Length
1 byte - Color Map Type
1 byte - Image Type
5 bytes - Color Map Specification
10 bytes - Image Specification

//image or color map data
x bytes - Image ID
x bytes - Color Map Data
x bytes - Image Data

//developer area
x bytes - Developer Data

//extension area
2 bytes - Extension Size
41 bytes - Author Name
324 bytes - Author Comments
12 bytes - Date/Time Stamp
41 bytes - Job Name/ID
6 bytes - Job Time
41 bytes - Software ID
3 bytes - Software Version
4 bytes - Key Color
4 bytes - Pixel Aspect Ratio
4 bytes - Gamma Value
4 bytes - Color Correction Offset
4 bytes - Postage Stamp Offset
4 bytes - Scan Line Offset
1 byte - Attributes Type 
x bytes - Scan Line Table
x bytes - Postage  Stamp Image
2K bytes - Color Correction Table

//tga file footer
4 bytes - Extension Area Offset 
4 bytes - Developer Directory Offset 
16 bytes - Signature // "TRUEVISION-XFILE"
1 byte - Reserved Character
1 byte - Binary Zero String Terminator

MultiEx BMS Script

No BMS script.

Supported Programs

Notes

  • TGA is popular file format used in many games.
  • Official TGA Format Specification 2.0 can be found here.

Games