Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <MdaImageConverter.h>
Link against: mediaclientimage.lib

Class CMdaImageBitmapToDescUtility

Interface status: deprecated

class CMdaImageBitmapToDescUtility : public CMdaImageDataWriteUtility;

Description

This class has been deprecated in 7.0s, it's functionality is now part of the Image Converter Library. For more information see CImageEncoder.

Derivation

Members

Defined in CMdaImageBitmapToDescUtility:

Inherited from CActive:

Inherited from CBase:

Inherited from CMdaImageDataWriteUtility:

Inherited from CMdaImageUtility:

See also:


Construction and destruction


NewL(MMdaImageUtilObserver &,CMdaServer *)

Interface status: deprecated Inherited from: CMdaImageBitmapToDescUtility

IMPORT_C static CMdaImageBitmapToDescUtility* NewL(MMdaImageUtilObserver &aObserver, CMdaServer *aServer=0);

Description

Constructs a new instance of the bitmap to descriptor-based image conversion utility.

The function leaves if this object cannot be created.

Parameters

MMdaImageUtilObserver &aObserver

The image utility observer interface

CMdaServer *aServer

A pointer to a server object. The default is NULL which means that one is automatically constructed and owned by this conversion utility object. If not NULL, the client must construct, and be responsible for, the server object. This option may be more efficient if a number of conversion utility objects are to be created.

Return value

CMdaImageBitmapToDescUtility *

A pointer to the new instance of the bitmap to descriptor-based image conversion utility.

[Top]


Member functions


CreateL(TDes8 &,TMdaClipFormat *,TMdaPackage *,TMdaPackage *)

Interface status: deprecated Inherited from: CMdaImageBitmapToDescUtility

IMPORT_C void CreateL(TDes8 &aDescriptor, TMdaClipFormat *aFormat, TMdaPackage *aCodec, TMdaPackage *aExtra);

Description

Initialises the supplied descriptor to receive the descriptor-based image.

The function is asynchronous. When the operation is complete, successfully or otherwise, the callback function MMdaImageUtilObserver::MiuoCreateComplete(TInt) is called.The descriptor must have been successfully initialised before any conversion operation can start.

Parameters

TDes8 &aDescriptor

A descriptor to contain the image.

TMdaClipFormat *aFormat

The data format. This is optional.

TMdaPackage *aCodec

The codec to use. This is optional.

TMdaPackage *aExtra

Additional information which the Media Server may need to recognise the data format. This is optional.