Multiple choiceQuestion 1 · Recall
Loading…
By the end you can define image resolution, screen resolution and file header, and explain why software needs the header to decode a bitmap.
Here are the pixel data of a tiny image: 0001101111100100.
Is it 4 pixels wide or 8? Is each pixel 2 bits or 4? You can't tell, and neither can the computer.
So a bitmap file carries two things: facts about the image first, then the pixels themselves. Let's meet the facts.
Image resolution
The number of pixels that make up an image, usually given as width × height in pixels (for example 1920 × 1080). Total number of pixels = width × height.
Screen resolution
The number of pixels a screen can display, given as the number of pixels horizontally × the number vertically (for example 1366 × 768).
| Image resolution | Screen resolution | |
|---|---|---|
| Belongs to | the image | the display hardware |
| Set by | whatever created the image (camera, scanner, software) | the monitor and its settings |
| Example | a 4000 × 3000 photo: 12 000 000 pixels | a 1920 × 1080 laptop screen |
When they don't match: