Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: ImageCodecData.h
Link against: imageconversion.lib

Class TPngEncodeData

class TPngEncodeData : public TFrameDataBlock;

Description

PNG specific frame data variant which holds PNG encoding information.

It can only be used with the PNG encoder.

Derivation

Members

Defined in TPngEncodeData:
DuplicateL(), EBestCompression, EBestSpeed, EDefaultCompression, ENoCompression, TPngCompressLevel, TPngEncodeData(), iBitsPerPixel, iColor, iLevel, iPaletted

Inherited from TFrameDataBlock:
DataType()


Construction and destruction


TPngEncodeData()

IMPORT_C TPngEncodeData();

Description

Default constructor for this class.

[Top]


Member functions


DuplicateL()

private: virtual TFrameDataBlock *DuplicateL(CFrameImageData &aFrameImageData) const;

Description

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 &aFrameImageData

An object that manages a list of frame and image block data

Return value

TFrameDataBlock *

[Top]


Member enumerations


Enum TPngCompressLevel

TPngCompressLevel

Description

A flag reflecting the level of compression used.

EDefaultCompression

Default level of compression used.

ENoCompression

No compression used.

EBestSpeed

Optimise compression for speed.

EBestCompression

Optimise compression for size.

[Top]


Member data


iBitsPerPixel

TInt iBitsPerPixel;

Description

The number of bits per pixel.


iColor

TBool iColor;

Description

A flag indicating if the image is color or grayscale.


iPaletted

TBool iPaletted;

Description

A flag indicating use of a palette or RGB.


iLevel

TPngCompressLevel iLevel;

Description

The level of compression to apply.