Skip to content
BENIBIX Learn

Raster vs Vector Images

Level 3 · How a digital picture is made

Why a photo goes blocky when you zoom in and a logo does not. Raster images, vector graphics, SVG files, and which one to use for a job.

Course contentsLesson 7 of 13

After this lesson you can

  • Tell raster from vector
  • Pick a format for a logo or a photo
  • Say why SVG stays sharp

10 mincovers 3 glossary entries

Worth reading first: Color Spaces and Gamut

Why some pictures blur and others stay sharp

A digital picture is stored in one of two ways. A raster image is a grid of tiny colored squares. A vector graphic is a list of shapes and curves. Zoom a raster photo to 800 percent and you see the squares. Zoom a vector logo as far as you like and its edges stay smooth.

Raster images are what cameras make. Each square holds one color, and millions of them side by side make a photo. That is perfect for the soft shading of a face or a sky. The catch is that the number of squares is fixed when the picture is made.

Make a raster image bigger and the computer has to invent the missing squares. It guesses from the ones around them, and the guess looks soft or blocky. So a small photo cannot be blown up to fill a poster without losing sharpness.

A vector graphic stores the recipe, not the result. A circle is saved as a center and a size, not as squares. When the picture is shown, the computer draws it fresh at whatever size is needed. A vector logo is just as sharp on a stamp as on a bus.

SVG is the web's vector format. It has been a web standard since 2001. An SVG file is plain text that describes shapes, so it is tiny, it can be styled like the rest of a page, and it stays sharp on any screen. Icons, logos and charts are often SVG.

Vectors have limits too. They are poor at photos, because a face would need millions of shapes. Very detailed art can make a huge, slow vector file. And once a vector is turned into a raster picture, it is a grid of squares like any other.

The common mistake is to send a printer a small logo copied from a website. It looks fine on screen and blurry on a banner. Keep the vector master of every logo and icon. Make raster copies from it when you need them.

Zoomed in, the raster circle becomes a staircase of squares. The vector circle is redrawn, so its edge stays smooth.

Which one to use

  1. 1

    Raster

    Use it for photos, and for any picture full of soft shading and fine detail.

  2. 2

    Vector

    Use it for logos, icons and drawings that must work at many sizes.

  3. 3

    SVG

    Use it for a vector picture that goes on a website, like an icon or a chart.

Worked example

A logo for a van and a stamp

A plumber needs his logo on a van, 2 meters wide, and on a rubber stamp, 3 centimeters wide. He only has a small photo of it.

A designer redraws it as a vector once. The same file prints sharp on the van and on the stamp, and goes on the website as SVG.

The words for this lesson3

Check yourself

Why does a vector logo stay sharp at any size?

Finished this lesson?

Marking it complete also marks its 3 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.