CPng::Encode Method
C++
virtual void Encode(Rx::IMemory* pTrgMem, const CRxImage& xSrcImg)
Encodes the image pSrcImg and store the encoded data in pTrgMem. Works only with:
PixelType: RGB(24Bit, 32Bit), RGBA (32Bit), BGR (24Bit, 32Bit), BGRA (32Bit), Lum (8Bit, 16Bit), LumA (8Bit, 16Bit)
DataType: UByte, Byte.
Parameters
[Rx::IMemory*] pTrgMem |
[out] Encoded memory. |
[const CRxImage&] xSrcImg |
Decodec image. |