Nov 262009
Thanks to Ugur (Kuneri) and Riku Salminen (FN) we now have a great trick which enables us to use PNG images as Symbian application icon instead of SVG.
Basically after we convert the PNG image to base64 format from here, we just need to directly use the Base64 formatted text in an hand-made SVG file (SVG is basically text file) using the template text below to create our fresh icon (replace the text THE BASE64 ENCODED BITMAP GOES HERE with your copy pasted text):
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="text/ecmascript" zoomAndPan="magnify" baseProfile="tiny" contentStyleType="text/css" version="1.0" width="6.77196" preserveAspectRatio="xMidYMid meet" viewBox="0 0 6.77196 6.85856" height="6.85856" fill-rule="evenodd"> <g><metadata/><g> <image x="-2.847" y="-3.71656" transform="matrix(1 0 0 1
2.847 3.71656)" width="6.77196" xlink:href="data:image/png;base64, THE BASE64 ENCODED BITMAP GOES HERE" xlink:type="simple" xlink:actuate="onLoad" height="6.85856" preserveAspectRatio="xMidYMid meet" xlink:show="embed"/> </g></g></svg>















Follow me on Twitter
If you enjoyed this article, you might also like...