You Are Here:

Community: Wiki

This page was last modified on 24 October 2008, at 13:29.

KIS000531 - Compatibility problem with binary-encoded SVG images

From Forum Nokia Wiki



ID KIS000531 Creation date December 19, 2006, updated September 25, 2007
Platform S60 3rd Edition, Feature Pack 1 Devices
Category Subcategory


Keywords (APIs, classes, methods, functions):

Overview

SVG icons compiled with the S60 3rd Edition, FP1 SDK are not displayed correctly on S60 3rd Edition devices.

Description

When an application that uses SVG graphics is built with the S60 3rd Edition, FP1 SDK and then installed to an S60 3rd Edition device, the SVG icon(s) are not displayed correctly.
This issue is related to the binary-encoded .mif format that MIFCONV.EXE on S60 3rd Edition, FP1 uses by default. S60 3rd Edition devices are unable to read the compressed MIF files produced with tools of the S60 3rd Edition, FP1 SDK.

How to reproduce

This issue can easily be reproduced by compiling one of the example applications in the \S60Ex folder in the S60 3rd Edition, Feature Pack 1 SDK, and deploying it to an S60 3rd Edition device.

Solution

SVG compression can be disabled by using the /X option for MIFCONV.EXE. The resulting MIF files contain XML-format SVG files, which are backward compatible with S60 3rd Edition devices.


For example, edit the list of parameters passed to MIFCONV in the Icons.mk makefile as follows:

   RESOURCE :	
   	mifconv $(ICONTARGETFILENAME) \
   		/X /c32 $(ICONDIR)\qgn_menu_myapp.svg
   		

Note that when using a parameter file (MIFCONV option /F), the /X option should be added for each entry (line) in the parameter file.

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fKIJ001203E5fE2dE5fNewE5flineE5fcannotE5fbeE5finsertedE5fwithE5fE2527E255CnE2527E5fcharE5finE5fAlertE5fusingE5fJavaE5fME45E5finE5fS60X qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZKnowledgeBaseContentQ qdcZtypeQUqfntypeZKnownIssueQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZKnowledgeBaseContentQ qfnZtypeQUqfntypeZKnownIssueQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZKnowledgeBaseContentQ qrdfZtypeQUqfntypeZKnownIssueQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ