According to Creating TGA Image files
namespace xtga::flags
{
enum class IMAGETYPE : uchar
{
NONE = 0x00, /*!< No image data present. */
COLOR_MAPPED = 0x01, /*!< Uncompressed Color Mapped. */
TRUE_COLOR = 0x02, /*!< Uncompressed True Color. */
GRAYSCALE = 0x03, /*!< Uncompressed Grayscale. */
COLOR_MAPPED_RLE = 0x09, /*!< Run-length encoded Color Mapped. */
TRUE_COLOR_RLE = 0x0A, /*!< Run-length encoded True Color. */
GRAYSCALE_RLE = 0x0B, /*!< Run-length encoded Grayscale. */
COLOR_MAPPED_HUFFMAN_DELTA_RLE = 0x20, /*!< Huffman-Delta-Run-length encoded Color Mapped */
COLOR_MAPPED_HUFFMAN_DELTA_RLE_4_PASS_QUADTREE = 0x21, /*!< Huffman-Delta-Run-length-4-Pass-Quadtree encoded Color Mapped */
};
}
According to Creating TGA Image files