Namespace: Rx::Codec – Class: CPng – Header: Rx.Codec/Png.h

CPng::Decode Method

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

Decodes the data in pSrcMem and store the decoded image in pTrgImg. Works only with:

PixelType: RGB(24Bit, 32Bit), RGBA (32Bit), BGR (24Bit, 32Bit), BGRA (32Bit), Lum (8Bit, 16Bit), LumA (8Bit, 16Bit)

DataType: UByte, Byte.

Parameters

[CRxImage&] xTrgImg

[out] Decodec image.

[const Rx::IMemoryAccess*] pSrcMem

Encodec memory.