You Are Here:

S60 Platform: Image Converter Example

Register Today

Register with Forum Nokia now and you'll enjoy the full benefits of the Forum Nokia membership.

Register Login
Community Highlights

Wiki article of the week

Zoom and Rotate Gestures in FlashLite for touch-enabled devices

Champion of the month

Jackson Feijó Jackson Feijó
Read more about Jackson on the Champions website.


Forum Nokia Events

Nokia Developer Days in South Africa
December 01, 2009
Johannesburg, South Africa

Forum Nokia Developer Conference ’09, India
December 07, 2009
Bangalore, India

LeWeb
December 09, 2009
Paris

Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9am New York | 2pm London | 4pm Helsinki

Web Runtime Coding With Aptana WRT Plug-in
December 09, 2009
9:30am New Delhi, noon Beijing


View all
description:

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. Images can be opened, rotated, scaled, and saved in the same or a different format. The UI of the updated application has been optimised for touch using, for example, long taps and tactile feedback. 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.


type: Example
topics: Files/Data
Multimedia
     Imaging
S60
     S60 3rd Edition
     S60 5th Edition
Symbian C++
UI
     Touch UI
encoding: Zip Archive (.zip)
intended audience: Intermediate

http://sw.nokia.com/FN-1/Type/Example S60 Platform: Image Converter Example v3.0

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. Images can be opened, rotated, scaled, and saved in the same or a different format. The UI of the updated application has been optimised for touch using, for example, long taps and tactile feedback. 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.

10-Oct-2008


Download



Additional information

distribution: Forum Nokia Global Web Site
S60 Web Site
publication rights: Copyright © 2004-2008 Nokia Corporation.

<< Back to Previous Page

 

Rate This:

Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
User Rating: qfnZuserE5FratingQNx2E2E3333X
RDF Facets: qfnZuserE5FtagQSxthisE20isE20notE20workingX
RDF Facets: qdcZdescriptionQSxThisE20eE78ampleE20demonstratesE20howE20toE20useE20theE20imageE20conversionE20APIsE20availableE20inE20theE20S60E20platformE20E28ImageE20ConversionE20E4cibraryE2cE20ICE4cE29E2eE20TheseE20APIsE20includeE20importantE20classesE2cE20suchE20asE20CBitmapE52otatorE20andE20CBitmapScalerE20toE20beE20usedE20forE20rotatingE20andE20scalingE20imagesE2cE20respectivelyE2eE20CImageE45ncoderE20andE20CImageE44ecoderE20classesE20areE20usedE20toE20accessE20imageE20encodersE20andE20decodersE20availableE20inE20theE20ICE4cE2eE20ImagesE20canE20beE20openedE2cE20rotatedE2cE20scaledE2cE20andE20savedE20inE20theE20sameE20orE20aE20differentE20formatE2eE20TheE20UIE20ofE20theE20updatedE20applicationE20hasE20beenE20optimisedE20forE20touchE20usingE2cE20forE20eE78ampleE2cE20longE20tapsE20andE20tactileE20feedbackE2eE20TheE20eE78ampleE20projectE20supportsE20buildingE20forE20bothE20S60E205thE20E45ditionE20withE20touchE20UIE20andE20S60E203rdE20E45ditionE20withE20aE20traditionalE20keypadE2eE20ImportantE20classesE3aE20CAknE4congTapE44etectorE2cE20MTouchFeedbackE2cE20CBitmapE52otatorE2cE20CBitmapScalerE2cE20CImageE45ncoderE2cE20CImageE44ecoderE2cE20CFbsBitmapE2cE20CAknE51ueryE44ialogE2eX qdcZidentifierQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fe79aecf5E2d8fefE2d4732E2d8918E2dfe0e0089d325E2fS60E5fPlatformE5fImageE5fConverterE5fE45E78ampleE5fv2E5f0E5fenE2ezipX qdcZidentifierQSxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f567330ddE2d130fE2d4f1dE2d9380E2dfac5aec5a6a9E2fS60E5fPlatformE5fImageE5fConverterE5fE45E78ampleX qdcZtitleQSxS60E20PlatformE3aE20ImageE20ConverterE20E45E78ampleX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfnZE45E78cludedFromSearchQ qdcZtypeQUqfnZPrimaryE52esourceQ qdcZtypeQUqfntypeZApplicationQ qdcZtypeQUqfntypeZE45E78ampleQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqmarsZMediaObjectQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qrssZdescriptionQSxThisE20eE78ampleE20demonstratesE20howE20toE20useE20theE20imageE20conversionE20APIsE20availableE20inE20theE20S60E20platformE20E28ImageE20ConversionE20E4cibraryE2cE20ICE4cE29E2eE20TheseE20APIsE20includeE20importantE20classesE2cE20suchE20asE20CBitmapE52otatorE20andE20CBitmapScalerE20toE20beE20usedE20forE20rotatingE20andE20scalingE20imagesE2cE20respectivelyE2eE20CImageE45ncoderE20andE20CImageE44ecoderE20classesE20areE20usedE20toE20accessE20imageE20encodersE20andE20decodersE20availableE20inE20theE20ICE4cE2eE20ImagesE20canE20beE20openedE2cE20rotatedE2cE20scaledE2cE20andE20savedE20inE20theE20sameE20orE20aE20differentE20formatE2eE20TheE20UIE20ofE20theE20updatedE20applicationE20hasE20beenE20optimisedE20forE20touchE20usingE2cE20forE20eE78ampleE2cE20longE20tapsE20andE20tactileE20feedbackE2eE20TheE20eE78ampleE20projectE20supportsE20buildingE20forE20bothE20S60E205thE20E45ditionE20withE20touchE20UIE20andE20S60E203rdE20E45ditionE20withE20aE20traditionalE20keypadE2eE20ImportantE20classesE3aE20CAknE4congTapE44etectorE2cE20MTouchFeedbackE2cE20CBitmapE52otatorE2cE20CBitmapScalerE2cE20CImageE45ncoderE2cE20CImageE44ecoderE2cE20CFbsBitmapE2cE20CAknE51ueryE44ialogE2eX qrssZtitleQSxS60E20PlatformE3aE20ImageE20ConverterE20E45E78ampleX qeditorZdescriptionE5fcreatedQDx2008E2d09E2d19T12E3a21E3a05E5aX qeditorZdescriptionE5fmodifiedQDx2009E2d01E2d30T06E3a14E3a55E5aX qeditorZtypeQUqfntypeZApplicationQ qeditorZtypeQUqfntypeZE45E78ampleQ qeditorZtypeQUqfntypeZE52esourceQ qfnZallowedE5fcountryE5fgroupQUqfnCountryGroupZBQ qfnZaudienceQUqfnAudienceZintermediateQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZaudienceQUqfnAudienceZtechnicalQRqmarsZrelevanceQNx100X qfnZdistributionQUxhttpE3aE2fE2fforumE2enokiaE2ecomE2fX qfnZdistributionQUxhttpE3aE2fE2fwwwE2es60E2ecomE2fX qfnZeE78portE5fcontrolE5fcommodityE5fnumberQSx99X qfnZpublishedQDx2008E2d10E2d10T19E3a00E3a00E5aX qfnZtopicQUqfnTopicZcppQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZfilesE5fdataQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZimagingQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZmultimediaQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60QRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60E5f3edQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZseriesE5f60E5f5edQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZtouchE5fuiQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtopicQUqfnTopicZuiQRqdcZtypeQUqrdfsZE52esourceQRqmarsZrelevanceQNx100X qfnZtypeQUqfntypeZApplicationQ qfnZtypeQUqfntypeZE45E78ampleQ qfnZtypeQUqfntypeZE52esourceQ qfnZusE5foriginQLqE78sdZbooleanQxtrueX qfnZE78mlE5fdescriptionQXxE0aE3cspanE20E78mlnsE3dE22httpE3aE2fE2fwwwE2ew3E2eorgE2f1999E2fE78htmlE22E3eE3cpE3eE3cimgE20altE3dE22E22E20hspaceE3dE2212E22E20alignE3dE22rightE22E20srcE3dE22httpE3aE2fE2fwwwE2eforumE2enokiaE2ecomE2fpicsE2fImageE5fConverterE2ejpgE22E3eE3cE2fimgE3eE20ThisE20eE78ampleE20demonstratesE20howE20toE20useE20theE20imageE20conversionE20APIsE20availableE20inE20theE20S60E20platformE20E28ImageE20ConversionE20E4cibraryE2cE20ICE4cE29E2eE20TheseE20APIsE20includeE20importantE20classesE2cE20suchE20asE20CBitmapE52otatorE20andE20CBitmapScalerE20toE20beE20usedE20forE20rotatingE20andE20scalingE20imagesE2cE20respectivelyE2eE20CImageE45ncoderE20andE20CImageE44ecoderE20classesE20areE20usedE20toE20accessE20imageE20encodersE20andE20decodersE20availableE20inE20theE20ICE4cE2eE20ImagesE20canE20beE20openedE2cE20rotatedE2cE20scaledE2cE20andE20savedE20inE20theE20sameE20orE20aE20differentE20formatE2eE20TheE20UIE20ofE20theE20updatedE20applicationE20hasE20beenE20optimisedE20forE20touchE20usingE2cE20forE20eE78ampleE2cE20longE20tapsE20andE20tactileE20feedbackE2eE20TheE20eE78ampleE20projectE20supportsE20buildingE20forE20bothE20S60E205thE20E45ditionE20withE20touchE20UIE20andE20S60E203rdE20E45ditionE20withE20aE20traditionalE20keypadE2eE20E3cbrE3eE3cE2fbrE3eE3cbrE3eE3cE2fbrE3eImportantE20classesE3aE20E3cbrE3eE3cE2fbrE3eCAknE4congTapE44etectorE2cE20MTouchFeedbackE2cE20CBitmapE52otatorE2cE20CBitmapScalerE2cE20CImageE45ncoderE2cE20CImageE44ecoderE2cE20CFbsBitmapE2cE20CAknE51ueryE44ialogE2eE3cE2fpE3eE3cE2fspanE3eE20E20E20E20E20E20X qmarsZdescriptionQSxThisE20eE78ampleE20demonstratesE20howE20toE20useE20theE20imageE20conversionE20APIsE20availableE20inE20theE20S60E20platformE20E28ImageE20ConversionE20E4cibraryE2cE20ICE4cE29E2eE20TheseE20APIsE20includeE20importantE20classesE2cE20suchE20asE20CBitmapE52otatorE20andE20CBitmapScalerE20toE20beE20usedE20forE20rotatingE20andE20scalingE20imagesE2cE20respectivelyE2eE20CImageE45ncoderE20andE20CImageE44ecoderE20classesE20areE20usedE20toE20accessE20imageE20encodersE20andE20decodersE20availableE20inE20theE20ICE4cE2eE20ImagesE20canE20beE20openedE2cE20rotatedE2cE20scaledE2cE20andE20savedE20inE20theE20sameE20orE20aE20differentE20formatE2eE20TheE20UIE20ofE20theE20updatedE20applicationE20hasE20beenE20optimisedE20forE20touchE20usingE2cE20forE20eE78ampleE2cE20longE20tapsE20andE20tactileE20feedbackE2eE20TheE20eE78ampleE20projectE20supportsE20buildingE20forE20bothE20S60E205thE20E45ditionE20withE20touchE20UIE20andE20S60E203rdE20E45ditionE20withE20aE20traditionalE20keypadE2eE20ImportantE20classesE3aE20CAknE4congTapE44etectorE2cE20MTouchFeedbackE2cE20CBitmapE52otatorE2cE20CBitmapScalerE2cE20CImageE45ncoderE2cE20CImageE44ecoderE2cE20CFbsBitmapE2cE20CAknE51ueryE44ialogE2eX qmarsZencodingQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fencodingE2d1E2fzipX qmarsZhasInstanceQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2f2335766dE2d03b8E2d436aE2d9886E2de39224f32b98E2fS60E5fPlatformE5fImageE5fConverterE5fE45E78ampleE5fv3E5f0E5fenE2ezipX qmarsZhasInstanceQUxhttpE3aE2fE2fswE2enokiaE2ecomE2fidE2fe4dd3ccfE2d2448E2d43adE2db281E2d3c505e9dd79cE2fS60E5fPlatformE5fImageE5fConverterE5fE45E78ampleE5fv3E5f0E5fBetaE5fenE2ezipX qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qmarsZtitleQSxS60E20PlatformE3aE20ImageE20ConverterE20E45E78ampleX qncZrightsQSxCopyrightE20Ea9E202004E2d2008E20NokiaE20CorporationE2eX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfnZE45E78cludedFromSearchQ qrdfZtypeQUqfnZPrimaryE52esourceQ qrdfZtypeQUqfntypeZApplicationQ qrdfZtypeQUqfntypeZE45E78ampleQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqmarsZMediaObjectQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ