Tagged articles
JPEG
18 articles · Page 1 of 1
This article explains the mathematical foundations of JPG and PNG compression, compares their strengths and weaknesses, provides a decision tree for format selection based on use cases, and outlines modern delivery practices using WebP, AVIF, and content negotiation.
AVIFContent NegotiationDCT
0 likes · 23 min read

This article explains why JPEG and JPG are interchangeable, tracing the JPEG format’s 1992 origins, early Windows 8.3 filename constraints that led to the .jpg shortcut, and how modern operating systems have lifted the historic 260‑character path length limit, affecting developers with deep file hierarchies.
JPEGWindows path limitfile extensions
0 likes · 4 min read

This article recounts how India’s rise in software outsourcing inspired China, highlights two Indian inventions—USB and the Discrete Cosine Transform (DCT)—and explains how DCT’s breakthrough image compression paved the way for JPEG, MP3, and modern multimedia streaming.
DCTJPEGalgorithm history
0 likes · 9 min read

libjpeg, the open‑source C library from the Independent JPEG Group, provides comprehensive JPEG encoding and decoding capabilities, explains JPEG format fundamentals, details its modular architecture, demonstrates encoding/decoding code examples, and guides cross‑compiling on Ubuntu 16.04 with configuration and make steps.
C libraryCross-compilationJPEG
0 likes · 8 min read


21CTOApr 6, 2024 · Fundamentals
Google’s newly released Jpegli library offers a backward‑compatible JPEG encoder with up to 35% better compression, adaptive quantization, 10‑bit support and speed comparable to traditional codecs, promising faster web pages and reduced bandwidth without sacrificing image quality.
GoogleJPEGJpegli
0 likes · 6 min read

This article provides a comprehensive overview of Android image compression, covering bitmap fundamentals, ARGB color model, size calculations, quality and dimension compression methods, the Luban algorithm, its implementation details, performance considerations, and related JPEG Huffman coding techniques.
AndroidBitmapJPEG
0 likes · 27 min read

This article explains Android image compression fundamentals—including ARGB, bitmap memory, bit‑depth vs. colour‑depth, quality and sampling compression methods—then details the Luban algorithm, its shortcomings, proposed improvements, and the underlying Skia/Huffman/JPEG native implementation with code examples.
AndroidBitmapHuffman
0 likes · 27 min read

The article explains the origin, mathematical basis, and practical impact of the Discrete Cosine Transform (DCT), showing how this 1970s algorithm became the core of JPEG, MPEG and modern video codecs, and recounts the overlooked story of its inventors.
Discrete Cosine TransformJPEGSignal Processing
0 likes · 10 min read

Originating from three largely unknown Indian engineers in the early 1970s, the Discrete Cosine Transform (DCT) became the cornerstone of modern image and video compression standards such as JPEG and MPEG, enabling efficient lossy compression by converting spatial data to frequency components and exploiting human visual perception.
Discrete Cosine TransformJPEGSignal Processing
0 likes · 11 min read

The article explains JPEG’s lossy fundamentals, introduces Lepton’s lossless layer and its optimizations—such as arithmetic coding and multithreaded Huffman switching—and describes how vivo’s hybrid physical‑server and Kubernetes deployment achieves roughly 22 % storage reduction across petabytes of JPEG images despite high CPU demands.
Huffman codingJPEGLepton
0 likes · 13 min read

The article explains PHP's imagejpeg() function, detailing its parameters, return values, and usage example for creating and outputting a JPEG image directly to the browser or saving it to a file, including optional quality settings.
BackendJPEGPHP
0 likes · 2 min read

This article explores the AVIF image format—derived from AV1 video—comparing its lossy and lossless compression performance against JPEG, WebP, and PNG across various test images, discussing acceptable quality thresholds, encoding/decoding times, tooling, and practical recommendations for web developers.
AVIFJPEGWebP
0 likes · 18 min read

The article reviews recent developments in image compression formats such as JPEG, WebP, HEVC, and Tencent's proprietary WXAM/SHARP, explains Guetzli's perceptual encoding, details extensive GPU‑based performance optimizations, and demonstrates how these techniques dramatically reduce bandwidth usage in Tencent's massive image storage platform.
GPU accelerationGuetzliJPEG
0 likes · 13 min read

This article examines Android's quality image compression, detailing Bitmap.compress() behavior, the Skia engine's role, Huffman coding optimization, libjpeg settings, and differences from iOS, while recommending newer libraries and techniques for improved compression efficiency.
AndroidHuffman codingJPEG
0 likes · 13 min read

This article reviews common web image formats—JPG, PNG, GIF, APNG, and WebP—detailing their compression methods, animation support, browser compatibility, and practical usage guidelines to help developers select the most efficient format for different scenarios.
JPEGWeb PerformanceWebP
0 likes · 10 min read

Google’s Guetzli JPEG compressor, which prioritizes perceptually important details, can dramatically shrink image sizes but demands high memory and CPU time; the article details real‑world tests, quality‑vs‑size trade‑offs, memory requirements, installation tips, and practical recommendations for using Guetzli in web projects.
GuetzliJPEGimage compression
0 likes · 6 min read

The article presents a comprehensive evaluation of common image formats and compression algorithms—including Guetzli, WebP, MozJPEG, and Libjpeg‑Turbo—by comparing their compression ratios, quality metrics, encoding speed, and practical deployment considerations for large‑scale mobile services.
GuetzliJPEGSSIM
0 likes · 18 min read

This article explains the two JPEG storage methods—Baseline and Progressive—detailing their storage and display mechanisms, compares their advantages and drawbacks, and presents a hands‑on test showing how Progressive JPEGs improve page rendering by preventing layout shifts despite higher CPU usage.
Baseline JPEGJPEGprogressive JPEG
0 likes · 3 min read
