TLDR Tech / Dev
JPEG compression
JPEG compression reduces image file sizes by exploiting human visual perception and the structure of natural images. The process compresses images by converting them to the Y'CbCr color space and applying chrominance subsampling to reduce data based on human visual perception. It then uses a Discrete Cosine Transform (DCT) and quantization to discard high-frequency details, finally compacting the results through Huffman encoding.
Read the full story