Enum ColorEncoding
How a BLP's pixel payload is encoded (the header's colorEncoding byte).
public enum ColorEncoding : byte
Fields
Bgra = 3Raw 32-bit BGRA pixels (Cataclysm+; terrain cube maps).
BgraAlt = 4Raw 32-bit BGRA under a different client-side PIXEL_FORMAT; identical file content to Bgra.
Dxt = 2DXT/S3TC block compression; the variant (BC1/BC2/BC3/BC5) follows from preferred_format and alphaDepth.
Jpeg = 0JPEG-compressed content (Warcraft III heritage; never shipped in WoW clients — wowlib preserves but cannot decode it).
Palettized = 1256-color palette indices, one byte per pixel, followed by a separate alpha plane of alphaDepth bits per pixel.