TGA

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Sample files)
Line 8: Line 8:
 
}}
 
}}
 
'''TGA''' ('''Targa''') is a simple raster image file format developed by Truevision, Inc. (then named EPICenter) in 1984. Designed for use with MS-DOS color applications, TGA is the native format of Truevision's TARGA (Truevision Advanced Raster Graphics Adapter) boards, which were some of the first graphic cards for IBM-compatible PCs to support 24-bit RGB color encoding (sometimes termed ''truecolor'').
 
'''TGA''' ('''Targa''') is a simple raster image file format developed by Truevision, Inc. (then named EPICenter) in 1984. Designed for use with MS-DOS color applications, TGA is the native format of Truevision's TARGA (Truevision Advanced Raster Graphics Adapter) boards, which were some of the first graphic cards for IBM-compatible PCs to support 24-bit RGB color encoding (sometimes termed ''truecolor'').
 +
 +
== Format ==
 +
Files have an 18-byte fixed header, followed by various other segments.
  
 
== Identifiers ==
 
== Identifiers ==
 
Filename extensions other than '''.tga''' are obsolete. Originally, some Truevision products used other extensions: '''.icb''' (Image Capture Board), '''.vda''' (Video Display Adapter), '''.vst''' (Vista).
 
Filename extensions other than '''.tga''' are obsolete. Originally, some Truevision products used other extensions: '''.icb''' (Image Capture Board), '''.vda''' (Video Display Adapter), '''.vst''' (Vista).
 +
 +
== Identification ==
 +
TGA files have no signature. They can be identified fairly reliably by testing whether the first 18 bytes have valid values for TGA format, but that is nontrivial.
  
 
== Specifications ==
 
== Specifications ==
* Truevision TGA File Format Specification, Version 2.0: [http://googlesites.inequation.org/tgautilities PostScript]· [http://www.dca.fee.unicamp.br/~martino/disciplinas/ea978/tgaffs.pdf PDF]· [http://www.ludorg.net/amnesia/TGA_File_Format_Spec.html HTML]
+
* Truevision TGA File Format Specification, Version 2.0: [http://googlesites.inequation.org/tgautilities PostScript] · [http://www.dca.fee.unicamp.br/~martino/disciplinas/ea978/tgaffs.pdf PDF] · [http://www.ludorg.net/amnesia/TGA_File_Format_Spec.html HTML]
 
* [http://www.martinreddy.net/gfx/2d/TGA.txt Information extracted by Martin Reddy from Appendix C of the Truevision Technical Guide]
 
* [http://www.martinreddy.net/gfx/2d/TGA.txt Information extracted by Martin Reddy from Appendix C of the Truevision Technical Guide]
 
* [http://www.textfiles.com/programming/FORMATS/targafor.pro Another copy of the file]
 
* [http://www.textfiles.com/programming/FORMATS/targafor.pro Another copy of the file]
 
* [http://www.textfiles.com/programming/FORMATS/pix_fmt.txt Picture format docs (of a number of formats including this one)]
 
* [http://www.textfiles.com/programming/FORMATS/pix_fmt.txt Picture format docs (of a number of formats including this one)]
 +
 +
== Software ==
 +
TGA is widely supported. Software listed here has been arbitrarily selected.
 +
* [[Netpbm]]: pamtotga, tgatoppm
 +
* [[ImageMagick]]
 +
* [http://tgalib.sourceforge.net/ Libtga]
  
 
== Sample files ==
 
== Sample files ==

Revision as of 15:16, 7 December 2013

File Format
Name TGA
Ontology
Extension(s) .tga, .icb, .vda, .vst
LoCFDD fdd000179, fdd000180
PRONOM x-fmt/367, fmt/402
Released 1984

TGA (Targa) is a simple raster image file format developed by Truevision, Inc. (then named EPICenter) in 1984. Designed for use with MS-DOS color applications, TGA is the native format of Truevision's TARGA (Truevision Advanced Raster Graphics Adapter) boards, which were some of the first graphic cards for IBM-compatible PCs to support 24-bit RGB color encoding (sometimes termed truecolor).

Contents

Format

Files have an 18-byte fixed header, followed by various other segments.

Identifiers

Filename extensions other than .tga are obsolete. Originally, some Truevision products used other extensions: .icb (Image Capture Board), .vda (Video Display Adapter), .vst (Vista).

Identification

TGA files have no signature. They can be identified fairly reliably by testing whether the first 18 bytes have valid values for TGA format, but that is nontrivial.

Specifications

Software

TGA is widely supported. Software listed here has been arbitrarily selected.

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox