Location:
MdaImageConverter.h
Link against: MediaClientImage.lib
CMdaImageBitmapToBitmapUtility
Supported from 5.0
Implements format conversion from one bitmap to another bitmap.
The class provides member functions to create an instance of this conversion utility and to open the source bitmap.
Conversion is performed using the image conversion utility interface.
The main use for this class is for bitmap display mode conversion. Error diffusion is handled if information is lost in the conversion.
|
Defined in CMdaImageBitmapToBitmapUtility
:
CancelConvertL()
, Close()
, ConvertL()
, NewL()
, OpenL()
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
:
FrameCount()
,
FrameInfo()
Inherited from MMdaObjectStateChangeObserver
:
MoscoStateChangeEvent()
static CMdaImageBitmapToBitmapUtility* NewL(MMdaImageUtilObserver& aObserver,CMdaServer* aServer = NULL);
Constructs a new instance of the bitmap to bitmap conversion utility object.
The function leaves if this object cannot be created.
|
|
void OpenL(CFbsBitmap& aBitmap);
Opens the existing source bitmap.
The function is asynchronous. When the open operation is
complete, successfully or otherwise, the callback function
MMdaImageUtilObserver::MiuoOpenComplete()
is called.
The source bitmap must be open before any conversion operation can start.
|
virtual void ConvertL(CFbsBitmap& aBitmap,TInt aFrameNumber = 0);
virtual void ConvertL(CFbsBitmap& aBitmap,CFbsBitmap& aMaskBitmap,TInt aFrameNumber = 0);
Begins the image conversion operation for the specified frame — overloaded function.
The operation is asynchronous. When the conversion operation is
complete, successfully or otherwise, the callback function
MMdaImageUtilObserver::MiuoConvertComplete()
is called.
|
virtual void CancelConvertL();
Cancels the conversion operation. The callback function
MMdaImageUtilObserver::MiuoConvertComplete()
is not called.
virtual void Close();
Closes the open bitmaps.
Any conversion operation in progress is cancelled.