Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 01:20, 15 July 2008.

Scalalabe Vector Graphics

From Forum Nokia Wiki

(SVG)

(SVG in S60)

Contents

SVG offers several benefits:

Scalability: SVG's can be scaled without losing clarity hence should be preferred to bmp's. Offers scalable (resolution independent) graphics format which reduces graphics design work since same graphic could be scaled to different sizes without sacrificing quality. There is no ROM space hit when going from 176x208 to double resolution, with current bitmap fonts bitmaps could take 4 times more ROM in double resolution .

Flexibility:The content can be modified dynamically, same application with one set of graphics could be used in phones with different resolutions .

Efficiency: As a text-based format, SVG graphics can be compressed better than bitmap images (such as JPEG), resulting in a smaller file size.


Use SVG files only as .mif files due to following reasons:

(1) SVG files are XML text files. To optimize the memory occupied by the SVG files they are converted into a binary format by the MIFCONV tool. The .mif file contains the binary version of the SVG file and not the text version. The memory occupied is reduced to large extent.

(2) The SVG binary format also optimizes performance. XML files are parsed and binary format which is close to the rendering engine is generated as a part the MIFCONV process itself. This reduces loading time of a SVG file as it does not involve XML parsing again.


Tools

Tool to generate MIF file:

A new tool, MifConv, is used for generating MIF (multi image file) files. This will convert source SVG-T files (which are XML) into a more efficient format and package them inside the MIF file.(MIFCONV)


Knowledge Base

The following are the links to the Knowledge Base which includes both Technical Solutions and Known Issues:

Example-Project

The following example describes how an SVG file used as an Application icon as well as resized to display as part of Listbox Item:

(Example-Project)

Related Discussions
Thread Thread Starter Forum Replies Last Post
Help needed with LayerManager and Sprites Tiger79 Mobile Java Media (Graphics & Sounds) 0 2007-10-10 14:18
How to clone a Vector? Pepper_91 Mobile Java General 1 2006-02-13 17:22
[moved] problem with STLPORT sanassin Open C 1 2008-02-04 09:32
怎么设置BRUSH使透明显示,我的文字被BRUSH遮住了 danielwang99 Symbian 3 2006-02-18 12:12
Help me DCF content format saraav Digital Rights Management & Content Downloading 2 2003-12-03 21:27
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtopicQUqfnTopicZseriesE5f60Q
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX