<?xml version='1.0' encoding='utf-8'?>
<PRONOM-Report xmlns="http://pronom.nationalarchives.gov.uk">
  <report_format_detail>
    <FileFormat>
      <FormatID>533</FormatID>
      <FormatName>Truevision TGA Bitmap</FormatName>
      <FormatVersion>1.0</FormatVersion>
      <FormatAliases>TGA, Targa Bitmap</FormatAliases>
      <FormatFamilies> </FormatFamilies>
      <FormatTypes>Image (Raster)</FormatTypes>
      <FormatDisclosure> </FormatDisclosure>
      <FormatDescription>TGA (often referred to as TARGA) is a simple raster format for individual images first established by Truevision, Inc. in 1984. Designed for use on systems that used 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 truecolor display (most often defined as 24-bit RGB color encoding). Truevision defined the first version of its TGA file format in 1984 for use with its first videographics products, including video boards for PC displays. In 1989, Truevision introduced TGA version 2.0. 

TGA supports mapped/indexed color and RGB color, with additional support for transparency information (sometimes referred to as alpha channel, as in RGBA color space). Transparency information permits images to be superimposed over other data, e.g., additional images, text layouts, or video, and permits effects like cross-fading between graphic images and video, etc.

TGA images may be encoded at 8, 16, 24, or 32 bits per pixel (as mapped/indexed color, RGB, or RGBA). TGA supported 24-bit color before such support was available in the TIFF format, and this helped establish the format's popularity during the 1980s.

The file signature is a FourCC code: TPIC. Also a variety of extensions were permissable in TGA version 1 (including .VDA”, “.ICB”, “.TGA”, and “.VST) but these were deprecated in TGA version 2.0 specification and only TGA was permitted).</FormatDescription>
      <BinaryFileFormat>Text</BinaryFileFormat>
      <ByteOrders> </ByteOrders>
      <ReleaseDate> </ReleaseDate>
      <WithdrawnDate> </WithdrawnDate>
      <ProvenanceSourceID>1</ProvenanceSourceID>
      <ProvenanceName>Digital Preservation Department / The National Archives</ProvenanceName>
      <ProvenanceSourceDate>02 Aug 2005</ProvenanceSourceDate>
      <ProvenanceDescription>v.120- New description created, additional notes and fdd identifier added as part of PRONOM Research Week 2024. Submitted by Library of Congress.</ProvenanceDescription>
      <LastUpdatedDate>02 Jan 2025</LastUpdatedDate>
      <FileFormatIdentifier>
        <Identifier>com.truevision.tga-image</Identifier>
        <IdentifierType>Apple Uniform Type Identifier</IdentifierType>
      </FileFormatIdentifier>
      <FileFormatIdentifier>
        <Identifier>fdd000179</Identifier>
        <IdentifierType>Library of Congress Format Description Identifier</IdentifierType>
      </FileFormatIdentifier>
      <FileFormatIdentifier>
        <Identifier>x-fmt/367</Identifier>
        <IdentifierType>PUID</IdentifierType>
      </FileFormatIdentifier>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>tga</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>icb</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>vda</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>vst</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>afi</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>bpx</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <InternalSignature>
        <SignatureID>604</SignatureID>
        <SignatureName>Truevision TGA Bitmap 1 (BOF 1)</SignatureName>
        <SignatureNote>offset 1: 0x01 colormap included; offset 2: Imagetype 0x01, 0x09 (color-mapped); offset 3, 4 bytes Color map specification (ignore); offset 7 Color map entry size (byte) decimal 15, 16, 24, 32; offset 8 (2 bytes) X origin of image (ignore); offset 10 (2 bytes) Y origin of image (ignore);  offset 12 (2 bytes) width of image (not zero), offset 14 (bytes) height of image (not zero), Image pixel size - 1 byte (0x08, 0x15, 0x16, )x24, 0x32)</SignatureNote>
        <ByteSequence>
          <ByteSequenceID>1</ByteSequenceID>
          <PositionType>Absolute from BOF</PositionType>
          <Offset>1</Offset>
          <MaxOffset> </MaxOffset>
          <IndirectOffsetLocation> </IndirectOffsetLocation>
          <IndirectOffsetLength> </IndirectOffsetLength>
          <Endianness> </Endianness>
          <ByteSequenceValue>01(01|09){4}(0F|10|18|20){8}(08|0F|10|18|20)</ByteSequenceValue>
        </ByteSequence>
      </InternalSignature>
      <InternalSignature>
        <SignatureID>627</SignatureID>
        <SignatureName>Truevision TGA Bitmap 1 (BOF 2)</SignatureName>
        <SignatureNote>offset 1: 0x00 no color map included; offset 2: Imagetype 0x02. 0x0A (RGB), 0x03 0x0B (Monochrome); offset 3, 5 bytes Color map specification 0x0000000000; offset 8 (2 bytes) X origin of image (ignore); offset 10 (2 bytes) Y origin of image (ignore);  offset 12 (2 bytes) width of image, offset 14 (bytes) height of image. Image pixel size - 1 byte (0x08, 0x15, 0x16, )x24, 0x32)</SignatureNote>
        <ByteSequence>
          <ByteSequenceID>1</ByteSequenceID>
          <PositionType>Absolute from BOF</PositionType>
          <Offset>1</Offset>
          <MaxOffset> </MaxOffset>
          <IndirectOffsetLocation> </IndirectOffsetLocation>
          <IndirectOffsetLength> </IndirectOffsetLength>
          <Endianness> </Endianness>
          <ByteSequenceValue>00(02|03|0A|0B)0000000000{8}(08|0F|10|18|20)</ByteSequenceValue>
        </ByteSequence>
      </InternalSignature>
      <RelatedFormat>
        <RelationshipType>Has lower priority than</RelationshipType>
        <RelatedFormatID>1150</RelatedFormatID>
        <RelatedFormatName>Truevision TGA Bitmap</RelatedFormatName>
        <RelatedFormatVersion> </RelatedFormatVersion>
      </RelatedFormat>
      <RelatedFormat>
        <RelationshipType>Has lower priority than</RelationshipType>
        <RelatedFormatID>1672</RelatedFormatID>
        <RelatedFormatName>MySQL Table Definition Format</RelatedFormatName>
        <RelatedFormatVersion> </RelatedFormatVersion>
      </RelatedFormat>
    </FileFormat>
  </report_format_detail>
</PRONOM-Report>