Image Representation
Choose or upload an image, then adjust the resolution and colour depth to see quality change and file size recalculate live.
1Choose an Image
📎 You can upload any image (a photo, screenshot, or diagram), and see how resolution and colour depth affect it.
2Adjust Resolution & Colour Depth
Resolution
Colour Depth
Resolution
The number of pixels wide × tall. Higher resolution = more detail, larger file.
Colour Depth
Bits per pixel. More bits = more possible colours, smoother gradients, larger file.
Pixel
The smallest addressable unit of an image. Each stores one colour value.
3File Size Calculation
OCR specification formula:
File size (bits) = Width (px) × Height (px) × Colour depth (bits per pixel)
File size (bytes) = File size (bits) ÷ 8
Working:
= 640 × 480 × 24
= 307,200 × 24
= 7,372,800 bits
÷ 8
= 921,600 bytes
Uncompressed file size
900.00 KB
921,600 bytes
💡 This is the raw, uncompressed size. File formats such as JPEG (lossy) and PNG (lossless) apply compression to reduce the stored size.