#include <mdaimageconverter.h>
class CMdaImageBitmapToDescUtility : public CMdaImageDataWriteUtility |
Public Member Functions | |
---|---|
IMPORT_C void | CreateL(TDes8 &, TMdaClipFormat *, TMdaPackage *, TMdaPackage *) |
IMPORT_C CMdaImageBitmapToDescUtility * | NewL(MMdaImageUtilObserver &, CMdaServer *) |
Inherited Attributes | |
---|---|
CActive::iStatus | |
CMdaImageUtility::iProperties |
Inherited Enumerations | |
---|---|
CActive:TPriority |
This class has been deprecated in 7.0s, it's functionality is now part of the Image Converter Library. For more information see CImageEncoder.
See also: CImageEncoder::DataNewL
IMPORT_C void | CreateL | ( | TDes8 & | aDescriptor, |
TMdaClipFormat * | aFormat, | |||
TMdaPackage * | aCodec, | |||
TMdaPackage * | aExtra | |||
) |
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() is called.The descriptor must have been successfully initialised before any conversion operation can start.
Parameter | Description |
---|---|
aDescriptor | A descriptor to contain the image. |
aFormat | The data format. This is optional. |
aCodec | The codec to use. This is optional. |
aExtra | Additional information which the Media Server may need to recognise the data format. This is optional. |
IMPORT_C CMdaImageBitmapToDescUtility * | NewL | ( | MMdaImageUtilObserver & | aObserver, |
CMdaServer * | aServer = NULL | |||
) | [static] |
Constructs a new instance of the bitmap to descriptor-based image conversion utility.
The function leaves if this object cannot be created.
Parameter | Description |
---|---|
aObserver | The image utility observer interface |
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. |
Returns: A pointer to the new instance of the bitmap to descriptor-based image conversion utility.