Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

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

From 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
Platform(s): S60 3rd Edition, Feature Pack 1
S60 3rd Edition FP1
Created: User:Technical writer 1 (20 Aug 2007)
Last edited: hamishwillee (21 Jun 2012)


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.


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 makefile as follows:

   		/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.
86 page views in the last 30 days.