Every time you share a photo, open a webpage, or video-call someone, a piece of mathematics called the Discrete Cosine Transform is silently at work. JPEG — the format behind most photos on the internet — uses it to shrink a raw image by a factor of ten or more while keeping the result indistinguishable from the original to the human eye.
The core idea is disarmingly simple: not all image information is equally visible. The fine-grained, rapidly oscillating patterns — the high-frequency detail — are things our eyes struggle to see at normal viewing distances. Throw those away, and you barely notice. Keep the broad strokes — the low-frequency shapes and gentle gradients — and the image still looks sharp.
JPEG was standardized in 1992 by the Joint Photographic Experts Group, and the algorithm at its heart has not changed. Understanding it means understanding one of the most successful ideas in all of applied mathematics: transform a problem into a space where you can separate the important from the expendable, then discard the rest.
Comments
Loading comments...