Skip to content

Topic

Image Compression

The practice of shrinking image file size using methods like JPEG quality settings and PNG palette quantization, trading file size against visual fidelity.

Current stories

build1 publisherOne report

Chrome's canvas.toBlob writes byte-identical PNGs at quality 0.1 and 1.0

Headless Chrome 149 wrote the same 1,345,909-byte PNG via canvas.toBlob at quality 0.1 and at 1.0, one developer's measurements show. A PNG export slider only changes the file if the tool downscales, quantises colours or switches to WebP or AVIF.

Publishers:dev.to

Reality

Evidence55
Adoption
Insufficient
Hype gap+15
Incentives30
Confidence60
build1 publisherOne report

Dropping to every third frame beat the encoder settings search

A byte-level walk of a 1.51 MB screen recording puts the untouchable palette tables at under 4 percent of the file. The 38 percent floor has to be explained by redraw rectangles that average 59 percent of the canvas.

Publishers:dev.to

Reality

Evidence58
Adoption
Insufficient
Hype gap+22
Incentives40
Confidence60
build1 publisherOne report

canvas.toBlob() hands back a PNG when you ask it to encode AVIF

Browsers decode eight image formats and encode three. A dev.to post documents what happens when you ask the canvas API for one of the other five: the success callback fires, and the blob it carries is a PNG.

Publishers:dev.to

Reality

Evidence62
Adoption
Insufficient
Hype gap+5
Incentives22
Confidence66