×
Namespaces

Variants
Actions

Archived:Compatibility problem with binary-encoded SVG images (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

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

Article Metadata
Compatibility
Platform(s): S60 3rd Edition, Feature Pack 1
S60 3rd Edition FP1
Article
Created: User:Technical writer 1 (20 Aug 2007)
Last edited: hamishwillee (21 Jun 2012)

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.

This page was last modified on 21 June 2012, at 05:58.
72 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×