XML technologies / SVG / SVG basics and possible applications / What is SVG? / Zooming without loss of quality

(Excerpt from “Das Einsteigerseminar SVG — Webgrafiken mit XML” by Helma Spona)

Another SVG advantage over raster formats is that users can enlarge or reduce graphics, for example to inspect details. This is especially useful for maps and other graphics showing large areas with many details.

The display plug-in provides this capability. In Adobe SVG Viewer, activate zoom through the graphic’s context menu. Because it is vector graphics, no quality is lost. The following figure shows the same graphic at original size and twice that size.

SVG graphics zoom without loss of quality

Figure: SVG graphics zoom without loss of quality

Raster graphics can also be “zoomed”. Either display a reduced image linking to the full image, or enlarge its display with the height and width attributes of the <IMG> tag. This causes substantial quality loss, shown in the next figure where a JPG image is enlarged to twice its size.

Clear quality loss when zooming raster graphics

Figure: Clear quality loss when zooming raster graphics

   

 

 

 

back to top