Archived:Compatibility problem with binary-encoded SVG images (Known Issue)
SVG icons compiled with the S60 3rd Edition, FP1 SDK are not displayed correctly on S60 3rd Edition devices.
Article Metadata
Compatibility
Article
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.


The /X option cannot supposedly be put anywhere on the mifconv command line.
It must be placed just before /32 (or similar framebuffer depth option).
For more info, see this FN discussion group thread: http://www.developer.nokia.com/Community/Discussion/showthread.php?110736-Application-Icon
I use option /F together with a parameter file and the /X option seems to work when placed into the parameter file in the beginning of each line in just before the /c32,8 and the svg file name.
Thank you for your feedback. The article has been updated.
Forum Nokia KB 08:13, 25 September 2007 (UTC)