Explainer Knowledge

What is an SVG file?

In brief

SVG stands for Scalable Vector Graphics. It is a vector format for digital illustrations, icons and logos. SVG vector artwork can be resized without losing sharpness, and modern browsers can display SVG files directly.

Why is SVG useful for animation?

A well-structured SVG file contains separate shapes and paths. You can edit them, change their colours or animate them individually. The file is often compact, and the artwork stays sharp on screens of different sizes.

Can every SVG file be animated straight away?

Some SVG files need preparation. Shapes may have been merged, software can interpret effects differently, and fonts may be missing. In those cases, the file may need to be cleaned up or rebuilt before animation.

How is SVG different from PNG?

PNG images are made up of pixels and can support transparency. SVG files typically contain vector shapes. PNG or another raster format makes sense for photos. SVG is often a better fit for logos, icons and simple illustrations.

Further reading

Browse Explainer Knowledge

Edwin van der Schoot co-founded Explainsalot. Since 2013 he and Bob Versteeg have turned complex information into scripts, illustrations and animations.