Table of Contents

Enum ColorEncoding

Namespace
WoWLib.Formats.BLP
Assembly
WoWLib.dll

How a BLP's pixel payload is encoded (the header's colorEncoding byte).

public enum ColorEncoding : byte

Fields

Bgra = 3

Raw 32-bit BGRA pixels (Cataclysm+; terrain cube maps).

BgraAlt = 4

Raw 32-bit BGRA under a different client-side PIXEL_FORMAT; identical file content to Bgra.

Dxt = 2

DXT/S3TC block compression; the variant (BC1/BC2/BC3/BC5) follows from preferred_format and alphaDepth.

Jpeg = 0

JPEG-compressed content (Warcraft III heritage; never shipped in WoW clients — wowlib preserves but cannot decode it).

Palettized = 1

256-color palette indices, one byte per pixel, followed by a separate alpha plane of alphaDepth bits per pixel.