TLDR Dev · MISCELLANEOUS

IMAGE COMPRESSION

makingsoftware.com35 min read

Summary from the TLDR Dev newsletter

Image compression techniques, including lossy and lossless methods, exploit characteristics of human visual perception to reduce file sizes. Formats like JPEG use a combination of chroma subsampling, discrete cosine transforms, and quantization for compression without noticeable quality loss, while GIF uses indexed color palettes and Lempel-Ziv-Welch algorithms to store limited color data.