Typelia

PDF glossary

What is Vector vs raster?

Two ways of describing graphics: as mathematical shapes or as a grid of pixels.

A vector element is described by shapes: lines, curves, colour fills. It can be enlarged without limit and always stays sharp. The text in a PDF, logos and charts made with software are usually vector.

A raster (or bitmap) image is a grid of pixels, like a photo or a scan. Enlarged beyond its resolution, it becomes blurry or pixelated. Its file size depends on the number of pixels and the compression used.

A single PDF often contains both. That is why a text document is light and sharp at any zoom, while a scan is heavy and its text gets blurry when you zoom in.

This difference also explains why compression mostly affects raster images, and why a scan must go through OCR before its text can be used.

Related tools