Versions in this module Expand all Collapse all v0 v0.5.1 Jan 15, 2023 Changes in this version + const DXT1 + const DXT3 + const DXT5 + const TextureRaw + const TextureS3 + const TextureUncompressed + var BLP2 [4]byte + func Decode(file io.ReadSeeker) (*image.NRGBA, error) + func DecodeBytes(blpData []byte) (*image.NRGBA, error) + func Encode(source image.Image, writer io.Writer, textureCompression uint8) error + type Header struct + AlphaDepth uint8 + AlphaType uint8 + ColorPalette [256][4]byte + Compression uint8 + HasMips uint8 + Height uint32 + MipmapLengths [16]uint32 + MipmapOffset [16]uint32 + Type uint32 + Version [4]byte + Width uint32