Compression Lab

What survives a 100KB upload limit? Compare the same printed notice, photograph and transparent logo before and after encoding. Open the detail view to see what the byte count leaves out.

Test limit 100 KB = 102,400 bytes

Should you shrink the page or lower JPG quality?

Small print · Image view

Original PNG

1,280 × 800 px
Original PNG · Bilingual print workshop notice with a fee and room codeOriginal PNG · Small Korean instructions and the digits in the workshop code
728,830 bytes626,430 bytes over limit

JPG · full width

1,280 × 800 px
JPG · full width · Bilingual print workshop notice with a fee and room codeJPG · full width · Small Korean instructions and the digits in the workshop code
99,960 bytes2,440 bytes under limitReduction from source · 86.3%

JPG · half width

640 × 400 px
JPG · half width · Bilingual print workshop notice with a fee and room codeJPG · half width · Small Korean instructions and the digits in the workshop code
55,707 bytes46,693 bytes under limitReduction from source · 92.4%

Read the code 8B–303 / 38–83 on the notice. In the full-width JPG, the gaps inside the 8s remain distinct. In the 640px copy, enlarging the same area softens the strokes of both the digits and the Korean text. The smaller file has room to spare under the limit, but enlarging it cannot restore the discarded pixels.

For a form someone must read, try keeping the pixel dimensions first. Open the downloaded file and read the smallest field before submitting.

At the same dimensions, what changes with WebP?

Feather detail · Image view

Source JPG

1,600 × 1,060 px
Source JPG · Blue and orange common kingfisher perched on a branchSource JPG · Blue feathers above the dark eye and the base of the kingfisher’s beak
417,297 bytes314,897 bytes over limit

Re-encoded JPG

1,600 × 1,060 px
Re-encoded JPG · Blue and orange common kingfisher perched on a branchRe-encoded JPG · Blue feathers above the dark eye and the base of the kingfisher’s beak
102,136 bytes264 bytes under limitReduction from source · 75.5%

Re-encoded WebP

1,600 × 1,060 px
Re-encoded WebP · Blue and orange common kingfisher perched on a branchRe-encoded WebP · Blue feathers above the dark eye and the base of the kingfisher’s beak
100,708 bytes1,692 bytes under limitReduction from source · 75.9%

The WebP is only 1,428 bytes smaller than the re-encoded JPG here. Both keep the 1,600px width. Compare the blue speckles above the eye and the orange feathers below it. They are more revealing than the smooth background when deciding whether either version is sharp enough.

If a submission form requires JPG, this JPG fits with 264 bytes to spare under the lab limit. Under a decimal limit of 100,000 bytes, both recorded outputs would be too large.

How to repeat the experiment

We recorded the download from the AZ Tools image compressor in Chrome 158.0.0.0. The target was 102,400 bytes and the maximum quality setting was 0.90. The encoder lowers quality only when needed. Automatic resizing was off. Only the second notice was explicitly resized to half width.

The detail views show the same source region in each file. The half-width notice crop is enlarged to align with the original. Choose “Try these settings” to load the source and options in the compressor, then run it. Your browser’s encoder may produce a different byte count.

The bilingual workshop notice and ribbon logo were made for AZ Tools. The kingfisher was photographed by Frank-2.0. We resized the photograph to 1,600 pixels wide and saved it as a JPG for this experiment. Photo source · CC0 1.0