yOrigin:Int

These bytes specify the absolute vertical coordinate for the lower left corner of the image as it is positioned on a display device having an origin at the lower left of the screen (e.g., the TARGA series).

xOrigin:Int

These bytes specify the absolute horizontal coordinate for the lower left corner of the image as it is positioned on a display device having an origin at the lower left of the screen (e.g., the TARGA series).

width:Int

This field specifies the width of the image in pixels.

imageType:ImageType

Image data type.

height:Int

This field specifies the height of the image in pixels.

colorMapType:Int

Indicated type of color map. 0 = no color map present. 1 = color map included. 2-127 is reserved by Truevision 128-255 may be used by app developers.

colorMapLength:Int

Total number of color map entries included.

colorMapFirstIndex:Int

Index of the first color map entry. Index refers to the starting entry in loading the color map.

colorMapEntrySize:Int

Establishes the number of bits per entry. Typically 15, 16, 24 or 32-bit values are used.

bitsPerPixel:Int

This field indicates the number of bits per pixel. This number includes the Attribute or Alpha channel bits. Common values are 8, 16, 24 and 32 but other pixel depths could be used.

alphaChannelBits:Int

the number of attribute bits per pixel. In the case of the TrueVista, these bits indicate the number of bits per pixel which are designated as Alpha Channel bits. For the ICB and TARGA products, these bits indicate the number of overlay bits available per pixel.