Raster vs Vector
A raster image is a grid of pixels, so it blurs when you blow it up. A vector is stored as shapes, so it stays sharp at any size. Photos are raster. Logos and icons are vector.
Raster Image
A picture made of a grid of tiny colored squares. Photos are raster.
A raster image is a picture made of a grid of tiny squares called pixels. Each pixel holds one color. Photos are raster images, because a grid of pixels can hold every soft shade. The image has a fixed number of pixels, so making it much bigger makes it blurry or blocky. JPEG, PNG and WebP are common raster formats.
Vector Graphic
A picture saved as shapes and curves, not pixels. It stays sharp at any size.
A vector graphic is a picture stored as shapes, lines and curves described by math, not as pixels. The computer redraws it each time, so it stays sharp at any size. Logos, icons and type are usually vectors. Vectors are poor at photos, which need millions of soft shades. SVG, PDF, AI and EPS are common vector formats.
In one line
- Raster Image
- A picture made of a grid of tiny colored squares. Photos are raster.
- Vector Graphic
- A picture saved as shapes and curves, not pixels. It stays sharp at any size.