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 15:05, 12 October 2007.

TSS000295 - How to compress SVG files

From Forum Nokia Wiki


Subject:

How to compress SVG files TSS000295

 

Platforms: Devices:
S60 2nd Edition, FP3
S60 3rd Edition
 

Category:

Symbian C++

Subcategory:

Multimedia

Description:

Binary-encoding and compressing Scalable Vector Graphics (SVG) image files is possible with the SVGTBINENCODE.EXE utility found in the S60 2nd Edition, Feature Pack 3 SDK (or later).
SVGTBINENCODE usage:
  • Take a back-up copy of your .svg file  - you will overwrite the original with a compressed version that cannot be edited.
  • Copy the source .svg file to a location within the emulator folder structure. For example, to %EPOCROOT%\epoc32\winscw\c\system\temp\
  •  Run the svgtbinencode compression utility. To do this, at the command line type:
    cd %EPOCROOT%\epoc32\release\winscw\udeb svgtbinencode -Dnogui -- c:\system\temp\sourceimage.svg
    This will create a binary-encoded version of the SVG image in the same directory, with .svgb extension.
  • Copy the .svgb file to the folder where your original .svg is stored
  • Delete your original .SVG file because you are about to replace it with the compressed version.
  • Rename the .svgb file to have a .svg extension.
  • Run the MifConv.exe utility for creating a multi-icon file (.MIF). If an extension makefile (icons.mk) is used, this is done automatically during the build process.’
    NOTE: MifConv does not recognize the .svgb extension, but will accept the binary-encoded SVG files after they have been renamed to have the .svg extension.

Creation date:

October 13, 2005

Last modified:

-
Related Discussions
Thread Thread Starter Forum Replies Last Post
NETBEANS + SVG MENU = NOKIA MOBIL???? Angeloso Mobile Java Media (Graphics & Sounds) 3 2008-05-28 10:15
Problem with SVG file hkhan_2004 Web Technologies and Multimedia Content- Web 技术和多媒体内容 0 2007-02-28 11:29
svg icon doesn't show on emulator/device DenisP78 Symbian Tools & SDKs 4 2008-05-09 22:44
size of a symbian application horaceng General Symbian C++ 6 2004-09-25 06:25
Problem in creatng icons from .mif file.. Priju Jacob Paul General Symbian C++ 11 2006-10-06 17:29
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZTechnicalSolutionQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX