Every image you will ever make is one of two things, and almost every technical problem in graphic design comes from confusing them. A raster image is a grid of coloured pixels. A vector image is a set of mathematical instructions for drawing shapes. That single difference determines whether a logo survives being blown up onto the side of a bus.
- A fixed grid of pixels
- Enlarging beyond its native size produces visible blocks and blur
- Handles photographs and continuous tone
- File size grows with dimensions and colour depth
- JPEG, PNG, GIF, TIFF, PSD
- Paths, points and fills described by equations
- Scales to any size with no loss at all
- Handles logos, type, icons and flat illustration
- File size depends on complexity, not dimensions
- SVG, AI, EPS, PDF
Resolution: pixels, PPI and print size
An image's pixel dimensions are its real content — say pixels. PPI (pixels per inch) is not stored in the pixels; it is an instruction about how densely to lay them down when printing. Change the PPI without resampling and the pixel count is untouched, only the printed size changes.
| Destination | Resolution to use | Why |
|---|---|---|
| Screen / web | 72–96 PPI (or just pixel dimensions) | Screens address pixels directly; PPI is meaningless to them |
| Desktop / office print | 150 PPI | Acceptable on plain paper |
| Professional print | 300 PPI | The industry standard for photographs in print |
| Large-format banner | 50–150 PPI | Viewed from metres away, so fewer pixels per inch are needed |
Colour depth and file size
Colour depth (or bit depth) is the number of bits used to record each pixel's colour. With bits you can distinguish different values, so 8-bit gives 256 and 24-bit gives million — the '24-bit true colour' of 8 bits per channel across red, green and blue. 32-bit is the same with an 8-bit alpha channel added for transparency.
Compression, and choosing a format
- Permanently discards data the eye is least likely to miss
- Much smaller files
- Quality degrades every time the file is re-saved
- JPEG, MP3, most video codecs
- Rebuilds the original exactly
- Larger files
- Re-saving costs nothing in quality
- PNG, GIF, ZIP, TIFF (LZW)
| Format | Type | Transparency | Use it for |
|---|---|---|---|
| JPEG | Raster, lossy | No | Photographs for web and print where file size matters |
| PNG | Raster, lossless | Yes (alpha) | Screenshots, flat graphics, anything needing transparency |
| GIF | Raster, lossless, 256 colours | Yes (1-bit) | Simple animation; obsolete for still images |
| SVG | Vector | Yes | Logos and icons on the web — scales to any size |
| TIFF | Raster, lossless | Yes | High-quality print masters and archives |
| Both | Yes | Sending a finished layout to a printer or a client | |
| PSD / AI | Working files | Yes | Editable masters with layers — never a delivery format |