Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from TFrameDataBlock:


Construction and destruction


TPngEncodeData()

IMPORT_C TPngEncodeData();

Description

Default constructor for this class.

[Top]


Member functions


DuplicateL(CFrameImageData &)const

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.