Namespace: Rx::Codec – Class: CJpg – Header: Rx.Codec/Jpg.h

CJpg::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 (24 Bit), Lum (8 Bit)

DataType: UByte, Byte, Short, UShort, Int, UInt.

Parameters

[Rx::IMemory*] pTrgMem

[out] Encoded memory.

[const CRxImage&] xSrcImg

Decodec image.