TPngEncodeData Class Reference

#include <icl/imagecodecdata.h>

Link against: imageconversion.lib

class TPngEncodeData : public TFrameDataBlock

Inherits from

Detailed Description

PNG specific frame data variant which holds PNG encoding information.

It can only be used with the PNG encoder.

Member Attribute Documentation

iBitsPerPixel

TInt iBitsPerPixel

The number of bits per pixel.

iColor

TBool iColor

A flag indicating if the image is color or grayscale.

iLevel

The level of compression to apply.

iPaletted

TBool iPaletted

A flag indicating use of a palette or RGB.

Member Enumeration Documentation

Enum TPngCompressLevel

A flag reflecting the level of compression used.

EnumeratorValueDescription
EDefaultCompressionZ_DEFAULT_COMPRESSION

Default level of compression used.

ENoCompressionZ_NO_COMPRESSION

No compression used.

EBestSpeedZ_BEST_SPEED

Optimise compression for speed.

EBestCompressionZ_BEST_COMPRESSION

Optimise compression for size.

Constructor & Destructor Documentation

TPngEncodeData ( )

IMPORT_CTPngEncodeData()

Default constructor for this class.