|
|
|
|
Location:
MdaImageConverter.h
Link against: mediaclientimage.lib
class CMdaImageBitmapToFileUtility : public CMdaImageDataWriteUtility;
Implements format conversion of a bitmap to a file-based image.
Replaced by Image Conversion library - use CImageEncoder::FileNewL()
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.
MMdaObjectStateChangeObserver - An interface class for handling the change of state of an audio data sample objectCBase - Base class for all classes to be instantiated on the heapCActive - The core class of the active object abstractionCMdaImageUtility - Defines the public interface to image conversionCMdaImageDataWriteUtility - Base class used in the derivation of CMdaImageBitmapToFileUtility - Implements format conversion of a bitmap to a file-based imageDefined in CMdaImageBitmapToFileUtility:
CreateL(), NewL()
Inherited from CActive:
Cancel(),
Deque(),
EPriorityHigh,
EPriorityIdle,
EPriorityLow,
EPriorityStandard,
EPriorityUserInput,
Extension_(),
IsActive(),
IsAdded(),
Priority(),
RunError(),
SetActive(),
SetPriority(),
TPriority,
iStatus
Inherited from CBase:
Delete(),
operator new()
Inherited from CMdaImageDataWriteUtility:
CancelConvertL(),
ConvertL(),
DoCancel(),
DoClose(),
Encoder(),
ImageWriteUtil_Reserved1(),
ImageWriteUtil_Reserved2(),
ImageWriteUtil_Reserved3(),
RunL()
Inherited from CMdaImageUtility:
Close(),
FrameCount(),
FrameInfo(),
ImageUtil_Reserved1(),
ImageUtil_Reserved2(),
ImageUtil_Reserved3(),
ImageUtil_Reserved4(),
MoscoStateChangeEvent()
static IMPORT_C CMdaImageBitmapToFileUtility *NewL(MMdaImageUtilObserver &aObserver, CMdaServer *aServer=0);
Constructs a new instance of the bitmap to file-based image conversion utility.
The function leaves if this object cannot be created.
|
|
IMPORT_C 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.
|