pxpx
ワークベンチに戻る

Compression: Quality vs File Size

JPEG quality is essentially how aggressively DCT coefficients are quantized. Drag the quality slider to see block artifacts appear and disappear.

原图

处理后

DCT and artifacts

At low quality, 8×8 blocks become visible because high-frequency coefficients are zeroed out. Text and sharp edges suffer first; smooth gradients survive longest.

Hitting a target size

pxpx binary-searches quality first, then steps down resolution until your target KB is met. This guarantees the smallest visual compromise for a hard upload limit.

Related pages