Header.ImageType

Defines the type of the image.

Values

ValueMeaning
NoData0
UncompressedMapped1
UncompressedTrueColor2
UncompressedGrayscale3
RLEMapped9

RLE in 8 or 16 bit chunks

RLETrueColor10
RLEGrayscale11
RLE4BitMapped12

RLE optimized for 4 bit bitmaps. Added by me. Also works with 2 and 1 bit bitmaps Packet layout: bits 0 - 3: index needs to written bits 4 - 7: repeated occurence of indexes + 1 (1-16)

RLE1BitMapped13

RLE optimized for 1 bit bitmaps. Added by me. Packet layout: Every odd numbered byte: n of zeros (0-255) Every even numbered byte: n of ones (0-255)

HDRLEMapped32

Mapped image with Huffman-Delta-RLE compression. I can't find any info on how this works, so I currently just leaving it as a placeholder

HDRLEMappedQT33

Mapped image with Huffman-Delta-RLE compression with 4-pass quadtree-type process. I can't find any info on how this works, so I currently just leaving it as a placeholder

Meta