You Are Here:

Community: Wiki

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

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 Wiki Articles

No related wiki articles found

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia 
RDF Facets: qdcZidentifierQSxhttpE3aE2fE2fwikiE2eforumE2enokiaE2ecomE2findeE78E2ephpE2fPortingE5fBlackBerryE5fStormE5fapplicationsE5fandE5fservicesE5ftoE5fS60E5f5thE5fE45ditionX qdcZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qdcZtypeQUqfntypeZCommunityContentQ qdcZtypeQUqfntypeZE52esourceQ qdcZtypeQUqfntypeZWebpageQ qdcZtypeQUqfntypeZWikiContentQ qdcZtypeQUqmarsZManagedE52esourceQ qdcZtypeQUqwebZInformationE52esourceQ qdcZtypeQUqwebZPageQ qdcZtypeQUqwebZE52esourceQ qdcZtypeQUqrdfsZE52esourceQ qfnZtopicQUqfnTopicZseriesE5f60Q qfnZtypeQUqfntypeZCommunityContentQ qfnZtypeQUqfntypeZE52esourceQ qfnZtypeQUqfntypeZWebpageQ qfnZtypeQUqfntypeZWikiContentQ qfnZuserE5ftagQSxs60X qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX qrdfZtypeQUqfnZE45E78cludedFromGeneralE4cistingsQ qrdfZtypeQUqfntypeZCommunityContentQ qrdfZtypeQUqfntypeZE52esourceQ qrdfZtypeQUqfntypeZWebpageQ qrdfZtypeQUqfntypeZWikiContentQ qrdfZtypeQUqmarsZManagedE52esourceQ qrdfZtypeQUqwebZInformationE52esourceQ qrdfZtypeQUqwebZPageQ qrdfZtypeQUqwebZE52esourceQ qrdfZtypeQUqrdfsZE52esourceQ