Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <ImageCodecData.h>
Link against: imageconversion.lib

Class TJpegImageData

class TJpegImageData : public TImageDataBlock;

Description

JPEG specific image data variant which holds color sampling and quality factor information.

It can be used with both the JPEG decoder and encoder.

Derivation

Members

Defined in TJpegImageData:

Inherited from TImageDataBlock:


Construction and destruction


TJpegImageData()

IMPORT_C TJpegImageData();

Description

Default constructor for this class.

[Top]


Member functions


DuplicateL(CFrameImageData &)const

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

Description

Parameters

CFrameImageData &aFrameImageData

Return value

TImageDataBlock *

[Top]


Member enumerations


Enum TColorSampling

TColorSampling

Description

Flag reflecting the color sampling type.

EMonochrome

Monochrome.

EColor420

Horizontal and vertical chrominance decimation.

EColor422

Horizontal chrominance decimation.

EColor444

No chrominance decimation.

[Top]


Member data


iSampleScheme

TColorSampling iSampleScheme;

Description

The color sampling scheme to use.

See also:


iQualityFactor

TInt iQualityFactor;

Description

The quality factor.

This represents the current allowable percentage level of degradation when compressing the image data.

The range is 0 to 100 inclusive.