Location:
MdaImageConverter.h
Link against: MediaClientImage.lib
CMdaImageBitmapToFileUtility
Supported from 5.0
Implements format conversion of a bitmap to a file-based image.
The class provides functions to create an instance of this conversion utility and to create the file.
Conversion is performed using the image conversion utility interface.
|
Defined in CMdaImageBitmapToFileUtility
:
CreateL()
, NewL()
Inherited from CActive
:
Cancel()
,
Deque()
,
DoCancel()
,
EPriorityHigh
,
EPriorityIdle
,
EPriorityLow
,
EPriorityStandard
,
EPriorityUserInput
,
IsActive()
,
IsAdded()
,
Priority()
,
RunError()
,
RunL()
,
SetActive()
,
SetPriority()
,
TPriority
,
iStatus
Inherited from CBase
:
operator new()
Inherited from CMdaImageUtility
:
CancelConvertL()
,
Close()
,
ConvertL()
,
FrameCount()
,
FrameInfo()
Inherited from MMdaObjectStateChangeObserver
:
MoscoStateChangeEvent()
static CMdaImageBitmapToFileUtility* NewL(MMdaImageUtilObserver& aObserver,CMdaServer* aServer = NULL);
Constructs a new instance of the bitmap to file-based image conversion utility.
The function leaves if this object cannot be created.
|
|
void CreateL(const TDesC& aFileName,TMdaClipFormat* aFormat, TMdaPackage* aCodec, TMdaPackage* aExtra);
Creates a new file to receive the file-based image.
The function is asynchronous. When the operation is complete,
successfully or otherwise, the callback function
MMdaImageUtilObserver::MiuoCreateComplete()
is called.
The file must be have been created before any conversion operation can start. Note, however, that the file will expand to accommodate the data; i.e. image data is not truncated if the original size of the file is too small.
|