TPngEncodeData Class Reference

class TPngEncodeData : public TFrameDataBlock

PNG specific frame data variant which holds PNG encoding information.

It can only be used with the PNG encoder.

Inherits from

Public Member Functions
TPngEncodeData()
Private Member Functions
TFrameDataBlock *DuplicateL(CFrameImageData &)
Inherited Functions
TFrameDataBlock::DataType()const
TFrameDataBlock::TFrameDataBlock(TUid)
Public Member Enumerations
enumTPngCompressLevel { EDefaultCompression = Z_DEFAULT_COMPRESSION, ENoCompression = Z_NO_COMPRESSION, EBestSpeed = Z_BEST_SPEED, EBestCompression = Z_BEST_COMPRESSION }
Public Attributes
TInt iBitsPerPixel
TBool iColor
TPngCompressLevel iLevel
TBool iPaletted

Constructor & Destructor Documentation

TPngEncodeData()

IMPORT_CTPngEncodeData()

Default constructor for this class.

Member Functions Documentation

DuplicateL(CFrameImageData &)

TFrameDataBlock *DuplicateL(CFrameImageData &aFrameImageData)const [private, virtual]

Provides a copy of an object that manages a list of frame and image block data, but not a bitwise copy. It provides a new reference to the object.

Parameters

CFrameImageData & aFrameImageDataAn object that manages a list of frame and image block data

Member Enumerations Documentation

Enum TPngCompressLevel

A flag reflecting the level of compression used.

Enumerators

EDefaultCompression = Z_DEFAULT_COMPRESSION

Default level of compression used.

ENoCompression = Z_NO_COMPRESSION

No compression used.

EBestSpeed = Z_BEST_SPEED

Optimise compression for speed.

EBestCompression = Z_BEST_COMPRESSION

Optimise compression for size.

Member Data Documentation

TInt iBitsPerPixel

TInt iBitsPerPixel

The number of bits per pixel.

TBool iColor

TBool iColor

A flag indicating if the image is color or grayscale.

TPngCompressLevel iLevel

TPngCompressLevel iLevel

The level of compression to apply.

TBool iPaletted

TBool iPaletted

A flag indicating use of a palette or RGB.