What it is and the problem it solves
JPEG is a lossy image compression standard created to reduce file sizes while preserving subjectively acceptable visual quality. It solves the problem of transmitting and storing photographic images over bandwidth- and storage-constrained systems.
How it works
JPEG uses the discrete cosine transform (DCT) algorithm to convert image blocks into frequency components. It discards high-frequency data deemed imperceptible, then quantises and entropy-encodes the remainder. The standard defines only this compression/decompression process—not how the data is stored in a file.
What works
It reliably achieves ~10:1 compression with perceptible but widely accepted quality loss. Its DCT-based codec is fast to encode and decode in hardware and software. It is universally supported across browsers, operating systems, and editing tools.
What does not
The lossless coding mode exists in the standard but is not widely supported. JPEG does not define a file format: JFIF and Exif do that separately. It does not guarantee consistent visual quality across devices or viewing conditions.
What it changes
JPEG established DCT-based lossy compression as the baseline for web and consumer imaging. It shifted image storage from raw or uncompressed formats to perceptually optimised bitstreams—enabling faster transmission and smaller archives at the cost of irreversible data loss.
Is it worth your time
Yes—if you need lightweight, interoperable image delivery where minor quality loss is acceptable. No—if you require lossless fidelity, transparency, animation, or modern perceptual efficiency. JPEG remains embedded in infrastructure, but it offers no new capability.





