Namespace: Rx::Codec – Class: CBmp – Header: Rx.Codec/Bmp.h

CBmp::Decode Method

C++
virtual void Decode(CRxImage& xTrgImg, const Rx::IMemoryAccess* pSrcMem)

Decodes the data in pSrcMem and store the decoded image in pTrgImg. (Always BGR/BGRA or LUM). Works only with: PixelType: RGB (24 Bit), Lum (8 Bit) DataType: UByte, Byte, Short, UShort, Int, UInt, Float, Double.

Parameters

[CRxImage&] xTrgImg

[out] Decodec image.

[const Rx::IMemoryAccess*] pSrcMem

Encodec memory.