# Raster vs Vector Images

> 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:** [Color Theory and Images](https://learn.benibix.com/learn/design-visual-communication)  
**Time:** 10 min

**After this lesson you can:**

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

## 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.

![Two versions of the same circle, zoomed in. On the left, the edge is a staircase of square pixels. On the right, the edge is a smooth curve with small points along it.](https://learn.benibix.com/diagrams/raster-vs-vector.svg)

## Which one to use

1. **Raster.** Use it for photos, and for any picture full of soft shading and fine detail.
2. **Vector.** Use it for logos, icons and drawings that must work at many sizes.
3. **SVG.** Use it for a vector picture that goes on a website, like an icon or a chart.

### 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.

**Words in this lesson:** [Raster Image](https://learn.benibix.com/term/design/raster-image), [Vector Graphic](https://learn.benibix.com/term/design/vector-graphic), [Scalable Vector Graphics (SVG)](https://learn.benibix.com/term/design/scalable-vector-graphics)

> **The one difference.** A raster image stores the squares, so its sharpness is fixed. A vector stores the shapes, so it is drawn fresh and sharp at any size.

**Question:** Why does a vector logo stay sharp at any size?

**Answer:** It is drawn fresh from its shapes each time. A vector stores shapes, not squares. The computer draws those shapes again at whatever size is needed, so there are no squares to blow up.

---

Source: https://learn.benibix.com/learn/design-visual-communication/raster-vs-vector-images
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
