Archives

Tuesday, January 27, 2009

Image Converter Example

Image Converter Example This example demonstrates how to use the image conversion APIs available in the S60 platform (Image Conversion Library, ICL). These APIs include important classes, such as CBitmapRotator and CBitmapScaler to be used for rotating and scaling images, respectively. CImageEncoder and CImageDecoder classes are used to access image encoders and decoders available in the ICL. With this example an image can be opened either from the device memory or a memory card (if present). Once opened, the image can be rotated, scaled, and saved in the same or a different format (for example, a JPG image can be converted into a GIF image). The UI of the updated application has been optimized for touch. For example, long taps and tactile feedback are supported. The example project supports building for both S60 5th Edition with touch UI and S60 3rd Edition with a traditional keypad. Important classes: CAknLongTapDetector, MTouchFeedback, CBitmapRotator, CBitmapScaler, CImageEncoder, CImageDecoder, CFbsBitmap, CAknQueryDialog.

Free Download: S60ImageConverter.zip

No comments:

Post a Comment