Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


Size Does Matter

September 6, 1999

Are SVG images really more compact than GIF, JPEG, and PNG? We decided to test this by using several of the sample SVG files that accompanied the CSIRO SVG Viewer. We used Paint Shop Pro to capture the SVG image displayed by the viewer and convert it to GIF, JPEG, and PNG. File sizes below are given in KB.

View File View Image SVG GIF JPEG PNG
shapes.svg shapes.gif 2 26 24 21
gradients.svg gradients.gif 2 62 35 41
tiger.svg tiger.gif 96 52 56 111

These results (admittedly with too few data points) indicate that for some kinds of images (such as shapes.svg and gradients.svg), the space savings is extremely significant -- the SVG files are 10 to 30 times smaller than their bitmapped counterparts. However, for images like tiger.svg which consists of over 700 text lines of path elements that define complex patterns, the SVG file is nearly twice as large as the GIF or JPEG counterparts. However, since SVG is a text format, it compresses well; using ZIP, the SVG size of tiger.svg drops to 32 KB, making it still better than the bitmapped versions.

For a related discussion, see Minimizing SVG File Sizes in the spec.

IBM SVGView
Doing It With SVG (Scalable Vector Graphics), Part 1
SVG Resources At a Glance


Up to => Home / Authoring / Languages / XML / SVG / DoingIt




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers