Pixels and Image Resolution
Level 3 · How a digital picture is made
What a pixel is, how many a picture needs for a screen or a print, and why shape matters. See-through pixels, and how a file is made smaller.
Course contentsLesson 8 of 13
Level 1 · How color works
Level 2 · Color on screens and paper
Level 3 · How a digital picture is made
Level 4 · Pictures that carry a message
After this lesson you can
- Work out the pixels a print needs
- Read an aspect ratio
- Tell lossless from lossy compression
12 mincovers 6 glossary entries
Worth reading first: Raster vs Vector Images
How many pixels a picture needs
A pixel is one tiny square of color, and a raster image is a grid of them. Image resolution is how many pixels it has, written as width by height. A full HD picture is 1920 by 1080 pixels, about 2 million in all. A picture of 3840 by 2160 has four times as many, about 8 million.
For print, what matters is how tightly the pixels are packed. That is pixels per inch, or PPI. Print usually wants 300. So a 6 by 4 inch photo print needs 1800 by 1200 pixels. A poster seen from across a room can get away with much less.
The sum is the same every time. Multiply the inches by the PPI to get the pixels you need. If the picture has fewer, it will print soft. The PPI number on its own, with no pixel count, tells you nothing about how sharp a picture is.
Aspect ratio is the shape of a picture, written as width to height. Widescreen video is 16:9. Old TVs were 4:3. A square post is 1:1, and a phone video held upright is 9:16. Put a 16:9 picture in a 1:1 slot and something has to be cut off or squashed.
Some pixels hold more than a color. The alpha channel says how see-through each pixel is, from 0 for fully clear to 100 percent for fully solid. That is how a logo can sit on any background with no white box around it.
Image compression makes a picture file smaller. One kind packs the same pixels into less space, and every one comes back exactly. That kind is lossless. The other kind, lossy, throws away detail the eye will not miss. Lossy files are far smaller, but each save can lose a bit more.
People often think a bigger file is a sharper picture. Not always. A blurry photo saved with no compression is big and still blurry. And stretching a picture to more pixels adds size, not detail. Sharpness comes from the pixels captured at the start.
Pixels needed for a print at 300 PPI
| Print size | Pixels needed | About |
|---|---|---|
| 6 by 4 inches | 1800 by 1200 | 2 million |
| 10 by 8 inches | 3000 by 2400 | 7 million |
| 12 by 8 inches | 3600 by 2400 | 9 million |
Worked example
The words for this lesson6
Check yourself
How many pixels across does a 6 inch wide print at 300 PPI need?
Finished this lesson?
Marking it complete also marks its 6 glossary entries learned, which updates your roadmap and your saved page. 0 are already marked.