CIclExample Class Reference

List of all members.

Public Member Functions

 ~CIclExample ()
CActiveListenerCreateAndInitializeActiveListenerLC ()
void DecodeFromDescriptorToBitmapL (const TDesC &aFileName)
void DecodeFromFileToBitmapL (const TDesC &aFilename)
void DecodeToYuvFrameL (const TDesC &aFileName)
void AccessThumbnailToDecodeL (const TDesC &aFileName)
void AccessExifMetadataL (const TDesC &aFileName)
void DecodeUsingSepThreadL (const TDesC &aFileName)
void DecodeToHalfFourthAndEighthSizedBitmapL (const TDesC &aFileName)
void DecodeUsingImageMaskL (const TDesC &aFileName)
void MultiFrameImageDecodeL (const TDesC &aFileName)
void DecodeTheThumbnailL (const TDesC &aFileName)
void DecodeUsingContinueConvertL (const TDesC &aFileName)
void DisplayingImageCommentsL (const TDesC &aFileName)
void DisplayingFrameCommentsL (const TDesC &aFileName)
void GettingMimeTypeOfSourceDescriptorL (const TDesC &aFileName)
void GettingMimeTypeOfSourceFileL (const TDesC &aFileName)
void EncodeBitmapToDescriptorL (const TDesC &aFileName)
void EncodeImageWithThumbnailL (const TDesC &aFileName)
void SettingExifMetadataL (const TDesC &aFileName)
void RotateBitmapL (const TDesC &aFileName)
void ScaleBitmapL (const TDesC &aFileName)
void DecodeWithRotateL (const TDesC &aFileName)
void SetSourceDestinationandResizeL (const TDesC &aFileName)
void SettingWithUseOfPreserveImageDataL (const TDesC &aFileName1, const TDesC &aFileName2)
void AddThumbnailToJpegFileL (const TDesC &aSrcFileName, const TDesC &aDesFileName)
void AddExifDataToJpegFileL (const TDesC &aFileName)
void LoadPluginByUidL (const TDesC &aFilename, TUid aCodecUid)
void BlockStreamDecodeAndEncodeYuvFrameL (const TDesC &aSrcFileName, const TDesC &aDestFileName)
void EncodeBitmapToFileUsingOperationExtensionL (const TDesC &aSrcFileName, const TDesC &aDestFileName)
void ClipAndRotateDuringDecodeL ()
void BasicPanoramaStitchingL ()
void ViewFinderImageTrackingL ()
void GeneratingSpmoL ()
void GeneratingSpmoIterativelyL ()
void BasicImageProcessingL ()
void BasicEffectImageProcessingL ()
void EffectImageProcessingWithUndoL ()
void EffectImageProcessingWithPreviewL ()
void EffectImageProcessingWithOverlayL ()
void ImageProcessingWithSpmoL ()
void SqueezeJpgFileToFileL (const TDesC &aSrcFileName, const TDesC &aDestFileName)
void SqueezeJpgBufferToBufferL (const TDesC &aSrcFileName, const TDesC &aDestFileName)
void AutoSqueezeJpgFileToFileL (const TDesC &aSrcFileName, const TDesC &aDestFileName)
void RotateJpgFileToFileL (const TDesC &aSrcFileName, const TDesC &aDestFileName)
void OverlayJpgDataToJpgFileToFileL (const TDesC &aSrcFileName, const TDesC &aOverlayFileName, const TDesC &aDestFileName)
void OverlayPngFileToJpgFileToFileL (const TDesC &aSrcFileName, const TDesC &aOverlayFileName, const TDesC &aDestFileName)
void OverlayBmpDataToJpgFileToFileL (const TDesC &aSrcFileName, const TDesC &aOverlayFileName, const TDesC &aDestFileName)
void SetConsole (CConsoleBase *aConsole)

Static Public Member Functions

static CIclExampleNewLC ()


Detailed Description

Definition at line 189 of file iclexample.h.


Constructor & Destructor Documentation

CIclExample::~CIclExample (  ) 

Destructor

Definition at line 120 of file iclmainexample.cpp.


Member Function Documentation

CIclExample * CIclExample::NewLC (  )  [static]

Instance a CIclExample object and push it on the cleanup stack. Initializes all member data to their default values.

Returns:
A CIclExample object

Definition at line 96 of file iclmainexample.cpp.

CActiveListener * CIclExample::CreateAndInitializeActiveListenerLC (  ) 

Creates and Initializes a CActiveListener object.

Returns:
A CActiveListener object

Definition at line 168 of file iclmainexample.cpp.

void CIclExample::DecodeFromDescriptorToBitmapL ( const TDesC &  aFileName  ) 

Note 1: For demonstration purposes we create a client side active object which can handle the asynchronous request to decode the image. In a standard application the asynchronous call would be made passing in a TRequestStatus object associate with an active object which is part of that application. We would return to the main UI processing thread in which an active scheduler is running and wait for the asynchronous request to complete. In this demonstration we need to manually start the active scheduler. Note 2: Starts the active scheduler - this is for demonstration purposes. See Note 1: Demonstrates how to decode an image for which the content of the file has been loaded into memory. The image is decoded into a bitmap which can later be displayed on the screen.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data EFrameNumberOutOfRange Frame range is out of limit KErrCouldNotConnect A session could not connect KErrArgument An argument is out of range KErrTooBig A number is too big KErrUnderflow An underflow in some operation

Definition at line 52 of file icldecodeexample.cpp.

void CIclExample::DecodeFromFileToBitmapL ( const TDesC &  aFileName  ) 

Demonstrates how to decode an image which has been loaded into a file. The image is decoded into a bitmap which can later be displayed on the screen.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data EFrameNumberOutOfRange Frame range is out of limit KErrCouldNotConnect A session could not connect KErrArgument An argument is out of range KErrTooBig A number is too big KErrUnderflow An underflow in some operation

Definition at line 102 of file icldecodeexample.cpp.

void CIclExample::DecodeToYuvFrameL ( const TDesC &  aFileName  ) 

Demonstrates how to decode a JPEG image to an uncompressed YUV image frame.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range KErrNotSupported Functionality is not supported KErrUnderflow An underflow in some operation

Definition at line 149 of file icldecodeexample.cpp.

void CIclExample::AccessThumbnailToDecodeL ( const TDesC &  aFileName  ) 

Demonstrates accessing the JPEG thumbnail of an image for which the content of the file has been loaded into memory.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt Either the plugin cannot interpret data, or links between sections have been corrupted KErrArgument An argument is out of range

Definition at line 201 of file icldecodeexample.cpp.

void CIclExample::AccessExifMetadataL ( const TDesC &  aFileName  ) 

Demonstrates how to access Exif metadata of an image.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range KErrNotSupported Functionality is not supported KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrOverflow An overflow in some operation

Definition at line 254 of file icldecodeexample.cpp.

void CIclExample::DecodeUsingSepThreadL ( const TDesC &  aFileName  ) 

Demonstrates how to decode an image using separate thread. The image is decoded into a bitmap which can later be displayed on the screen.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range EFrameNumberOutOfRange Frame range is out of limit KErrUnderflow An underflow in some operation

Definition at line 351 of file icldecodeexample.cpp.

void CIclExample::DecodeToHalfFourthAndEighthSizedBitmapL ( const TDesC &  aFileName  ) 

Demonstrates how to decode an image to ? ?and 1/8 sized bitmaps for which the content of the file has been loaded into memory. The image is decoded into a bitmap which can later be displayed on the screen.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range. KErrUnderflow An underflow in some operation

Definition at line 401 of file icldecodeexample.cpp.

void CIclExample::DecodeUsingImageMaskL ( const TDesC &  aFileName  ) 

Demonstrates how to decode an image using an image mask for which the content of the file has been loaded into memory. The image is decoded into a bitmap which can later be displayed on the screen.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range. KErrUnderflow An underflow in some operation

Definition at line 458 of file icldecodeexample.cpp.

void CIclExample::MultiFrameImageDecodeL ( const TDesC &  aFileName  ) 

Demonstrates how to decode a multi-frame image for which the content of the file has been loaded into memory. The image is decoded into a bitmap which can later be displayed on the screen.

Parameters:
aFileName The specified file where the image is stored
EFrameNumberOutOfRange Frame range is out of limit KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range KErrUnderflow An underflow in some operation

Definition at line 539 of file icldecodeexample.cpp.

void CIclExample::DecodeTheThumbnailL ( const TDesC &  aFileName  ) 

Demonstrates how to decode the thumbnail of the image for which the content of the file has been loaded into memory. The image is decoded into a bitmap which can later be displayed on the screen.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt Either the plugin cannot interpret data, or links between sections have been corrupted EFrameNumberOutOfRange Frame range is out of limit KErrCouldNotConnect A session could not connect KErrArgument An argument is out of range KErrTooBig A number is too big KErrUnderflow An underflow in some operation

Definition at line 298 of file icldecodeexample.cpp.

void CIclExample::DecodeUsingContinueConvertL ( const TDesC &  aFileName  ) 

Demonstrates how to decode an image using CBufferedImageDecoder::Convert() and CBufferedImageDecoder::ContinueConvert() functions. The image is decoded into a bitmap, which can later be displayed on the screen.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range KErrUnderflow An underflow in some operation

Definition at line 600 of file icldecodeexample.cpp.

void CIclExample::DisplayingImageCommentsL ( const TDesC &  aFileName  ) 

Demonstrates how to display the comments contained in an image for which the content of the file has been loaded into memory.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range

Definition at line 709 of file icldecodeexample.cpp.

void CIclExample::DisplayingFrameCommentsL ( const TDesC &  aFileName  ) 

Demonstrates how to display the comments contained in frame of an image for which the content of the file has been loaded into memory.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range

Definition at line 751 of file icldecodeexample.cpp.

void CIclExample::GettingMimeTypeOfSourceDescriptorL ( const TDesC &  aFileName  ) 

Demonstrates how to get the mime type of source in descriptor and load the decoder using this mime type.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range KErrPermissionDenied An operation cannot be performed due to a potential security violation KErrInUse Requested resource is already in use

Definition at line 798 of file icldecodeexample.cpp.

void CIclExample::GettingMimeTypeOfSourceFileL ( const TDesC &  aFileName  ) 

Demonstrates how to get the mime type of source in file and load the decoder using this mime type.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range EFrameNumberOutOfRange Frame range is out of limit

Definition at line 831 of file icldecodeexample.cpp.

void CIclExample::EncodeBitmapToDescriptorL ( const TDesC &  aFileName  ) 

Note 1: For demonstration purposes we create a client side active object which can handle the asynchronous request to decode the image. In a standard application the asynchronous call would be made passing in a TRequestStatus object associate with an active object which is part of that application. We would return to the main UI processing thread in which an active scheduler is running and wait for the asynchronous request to complete. In this demonstration we need to manually start the active scheduler. Note 2: Starts the active scheduler - this is for demonstration purposes. See Note 1: Demonstrates how to encode an image into a descriptor.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrUnderflow An underflow in some operation

Definition at line 53 of file iclencodeexample.cpp.

void CIclExample::EncodeImageWithThumbnailL ( const TDesC &  aFileName  ) 

Demonstrates how to encode a JPEG thumbnail of an image.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrUnderflow An underflow in some operation

Definition at line 116 of file iclencodeexample.cpp.

void CIclExample::SettingExifMetadataL ( const TDesC &  aFileName  ) 

Demonstrates how to set the exif metadata of an image.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range KErrNotSupported Functionality is not supported

Definition at line 183 of file iclencodeexample.cpp.

void CIclExample::RotateBitmapL ( const TDesC &  aFileName  ) 

Demonstrates how to rotate a bitmap.

Parameters:
aFileName The specified file where the image is stored
ENoSourceBitmap Invalid source bitmap

Definition at line 256 of file iclencodeexample.cpp.

void CIclExample::ScaleBitmapL ( const TDesC &  aFileName  ) 

Demonstrates how to scale a bitmap including optional selection of low memory and quality algorithms.

Parameters:
aFileName The specified file where the image is stored
KErrNotSupported Functionality is not supported

Definition at line 295 of file iclencodeexample.cpp.

void CIclExample::DecodeWithRotateL ( const TDesC &  aFileName  ) 

Demonstrates how to decode a bitmap including rotation of image MNG/GIF 'Animation'

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data EFrameNumberOutOfRange Frame range is out of limit KErrCouldNotConnect A session could not connect KErrArgument An argument is out of range KErrTooBig A number is too big KErrUnderflow An underflow in some operation ENoSourceBitmap Invalid source bitmap

Definition at line 891 of file icldecodeexample.cpp.

void CIclExample::SetSourceDestinationandResizeL ( const TDesC &  aFileName  ) 

1) Specifies the name of the source file containing the image to transform 2) Defines the destination descriptor 3) Resize using CImageTransform

Parameters:
aFileName The specified file where the image is stored
KErrArgument An argument is out of range KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing

Definition at line 348 of file iclencodeexample.cpp.

void CIclExample::SettingWithUseOfPreserveImageDataL ( const TDesC &  aFileName1,
const TDesC &  aFileName2 
)

1) Specifies the source descriptor containing the image to transform 2) Specifies the name of the destination file where the transformed image is to be written to. 3) Transforms the bitmap 4) Either specify that the original image data is to be preserved, as far as possible, or that the image data should be re-encoded to produce a more size-efficient image.

Parameters:
aFileName The specified file where the image is stored
KErrArgument An argument is out of range

Definition at line 412 of file iclencodeexample.cpp.

void CIclExample::AddThumbnailToJpegFileL ( const TDesC &  aSrcFileName,
const TDesC &  aDesFileName 
)

Demonstrates how to add thumbnail to JPEG file.

Parameters:
aSrcFileName The specified file where the source image is stored
aDesFileName The specified
KErrArgument An argument is out of range KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrNotSupported Functionality is not supported

Definition at line 452 of file iclencodeexample.cpp.

void CIclExample::AddExifDataToJpegFileL ( const TDesC &  aFileName  ) 

Demonstrates how to add Exif data to a JPEG file.

Parameters:
aFileName The specified file where the image is stored
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrArgument An argument is out of range KErrNotSupported Functionality is not supported KErrOverflow An overflow in some operation

Definition at line 493 of file iclencodeexample.cpp.

void CIclExample::LoadPluginByUidL ( const TDesC &  aFileName,
TUid  aCodecUid 
)

Demonstrates how to resolve and load a plug-in by specific UID

Parameters:
aFileName The specified file where the image is stored
TUid aCodecUid specific Uid to load the decoder
KErrArgument An argument is out of range

Definition at line 859 of file icldecodeexample.cpp.

void CIclExample::BlockStreamDecodeAndEncodeYuvFrameL ( const TDesC &  aSrcFileName,
const TDesC &  aDestFileName 
)

Demonstrates modification of JPEG MCUs using minimal memory, for example to change brightness over an entire image, by decoding and then re-encoding via the block streamer extension interfaces.

Parameters:
aSrcFileName Specifies the source file containing the image to be stream decoded.
aDestFileName Specifies the destination file where the stream encoded image is to be written.
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrArgument An argument is out of range KErrNotSupported Functionality is not supported KErrUnderflow An underflow in some operation KErrOverflow An underflow in some operation

Definition at line 1033 of file icldecodeexample.cpp.

void CIclExample::EncodeBitmapToFileUsingOperationExtensionL ( const TDesC &  aSrcFileName,
const TDesC &  aDestFileName 
)

Demonstrates how to apply rotation operation while encoding a bitmap to a jpeg.

Parameters:
aSrcFileName Specifies the source bitmap containing the image to transform.
aDestFileName Specifies the destination file where the transformed image is to be written.
KEComErrNoInterfaceIdentified ECom could not find the specified interface KErrNotFound Either the appropriate plugin decoder for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrUnderflow An underflow in some operation

Definition at line 578 of file iclencodeexample.cpp.

void CIclExample::BasicImageProcessingL (  ) 

Demonstrates how to scale an image and re-encode at a specific quality.

Definition at line 125 of file iclimageprocessorexample.cpp.

void CIclExample::BasicEffectImageProcessingL (  ) 

Demonstrates how to crop an image, apply effects and geometrical operations to it and re-encode the image to a specific size and quality.

Definition at line 164 of file iclimageprocessorexample.cpp.

void CIclExample::EffectImageProcessingWithUndoL (  ) 

Demonstrates how to use undo facility to remove effects applied to an image.

Definition at line 228 of file iclimageprocessorexample.cpp.

void CIclExample::EffectImageProcessingWithPreviewL (  ) 

Demonstrates how to 'preview' a sequence of images as low quality bitmaps, applying the same set of effects to each.

Definition at line 278 of file iclimageprocessorexample.cpp.

void CIclExample::EffectImageProcessingWithOverlayL (  ) 

Demonstrates overlay of a PNG image on a JPEG and how that overlay can be resized and repositioned through a preview prior to being re-encoded to image file on disk.

Definition at line 376 of file iclimageprocessorexample.cpp.

void CIclExample::ImageProcessingWithSpmoL (  ) 

Demonstrates how to add a SpeedView object to an image which has been processed and is being re-encoded. This gives the benefit that the output image can be previewed quickly at some point in the future. This also demonstrates the transfer of EXIF headers and the regeneration of the thumbnail to match the main image.

Definition at line 501 of file iclimageprocessorexample.cpp.

void CIclExample::SqueezeJpgFileToFileL ( const TDesC &  aSrcFileName,
const TDesC &  aDestFileName 
)

Demonstrates how to squeeze an image from a file to a file

Parameters:
aSrcFileName The specified file where the image is stored
aDestFileName The destination file to store the squeezed image
KErrNotFound Either the appropriate plugin for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrNotSupported The plugin does not support squeezing for this image

Definition at line 56 of file icljpgtoolsandsqueezeexample.cpp.

void CIclExample::SqueezeJpgBufferToBufferL ( const TDesC &  aSrcFileName,
const TDesC &  aDestFileName 
)

Demonstrates how to squeeze an image from a buffer to a buffer

Parameters:
aSrcFileName The specified file where the image is stored
aDestFileName The destination file to store the squeezed image
KErrNotFound Either the appropriate plugin for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrNotSupported The plugin does not support squeezing for this image

Definition at line 114 of file icljpgtoolsandsqueezeexample.cpp.

void CIclExample::AutoSqueezeJpgFileToFileL ( const TDesC &  aSrcFileName,
const TDesC &  aDestFileName 
)

Demonstrates how to auto-squeeze an image from a file to a file

Parameters:
aSrcFileName The specified file where the image is stored
aDestFileName The destination file to store the squeezed image
KErrNotFound Either the appropriate plugin for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrNotSupported The plugin does not support squeezing for this image

Definition at line 179 of file icljpgtoolsandsqueezeexample.cpp.

void CIclExample::RotateJpgFileToFileL ( const TDesC &  aSrcFileName,
const TDesC &  aDestFileName 
)

Demonstrates how to rotate an image from a file to a file

Parameters:
aSrcFileName The specified file where the image is stored
aDestFileName The destination file to store the squeezed image
KErrNotFound Either the appropriate plugin for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrNotSupported The plugin does not support squeezing for this image

Definition at line 261 of file icljpgtoolsandsqueezeexample.cpp.

void CIclExample::OverlayJpgDataToJpgFileToFileL ( const TDesC &  aSrcFileName,
const TDesC &  aOverlayFileName,
const TDesC &  aDestFileName 
)

Demonstrates how to blend a jpg data in file to a file to a file

Parameters:
aSrcFileName The specified file where the image is stored
aOverlayFileName The file containing the overlay image
aDestFileName The destination file to store the squeezed image
KErrNotFound Either the appropriate plugin for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrNotSupported The plugin does not support squeezing for this image

Definition at line 309 of file icljpgtoolsandsqueezeexample.cpp.

void CIclExample::OverlayPngFileToJpgFileToFileL ( const TDesC &  aSrcFileName,
const TDesC &  aOverlayFileName,
const TDesC &  aDestFileName 
)

Demonstrates how to blend a png image in file to a jpg file to a file

Parameters:
aSrcFileName The specified file where the image is stored
aOverlayFileName The file containing the overlay png image
aDestFileName The destination file to store the squeezed image
KErrNotFound Either the appropriate plugin for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrNotSupported The plugin does not support squeezing for this image

Definition at line 361 of file icljpgtoolsandsqueezeexample.cpp.

void CIclExample::OverlayBmpDataToJpgFileToFileL ( const TDesC &  aSrcFileName,
const TDesC &  aOverlayFileName,
const TDesC &  aDestFileName 
)

Demonstrates how to blend a bitmap to a file to a file

Parameters:
aSrcFileName The specified file where the image is stored
aOverlayFileName The file containing the overlay btimap image
aDestFileName The destination file to store the squeezed image
KErrNotFound Either the appropriate plugin for this file hasn't been found, or the file itself is missing KErrCorrupt The plugin cannot interpret data KErrNotSupported The plugin does not support squeezing for this image

Definition at line 414 of file icljpgtoolsandsqueezeexample.cpp.


Generated on Thu Jan 21 10:33:06 2010 for TB10.1 Example Applications by  doxygen 1.5.3