Namespace: Rx::Codec – Class: CTiff – Header: Rx.Codec/Tiff.h

CTiff Class

C++
#include "Rx.Codec/Tiff.h"
class CTiff : public IImageCodec

JPG Codec.

Constructors

CTiff()

Default constructor.

Destructor

~CTiff()

Destructor.

Methods

Encode(image, stream)

Encodes the given image and stores the encoded data in the given stream.

Encode(pTrgMem, xSrcImg)

Encodes the image pSrcImage and stores the encoded data in pTrgMemory.

Decode(xTrgImg, pSrcMem)

Decodes the encoded data in pSrcMemory and stores the decoded image in pTrgImage.

GetCodecName()

Gets the codec name.

Encode(trgMemory, srcImg)

Encodes the given image and stores the encoded data in the given memory.

Decode(trgImg, srcMemory)

Decodes the data in the given memory and stores the result in the given image.

SetNormalizeFloat(bNormalize)

Determines if float images are scaled to range [0,1].

GetImpl()

Gets the implementation.