Tagged articles
image compression
65 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

Apple’s new PICO perceptual image codec, detailed in the “What Matters in Practical Learned Image Compression” paper, combines a one‑shot context model, TextFidelityLoss, and TilingArtifactLoss to achieve up to 70%‑80% smaller files than AV1, VVC, JPEG AI, and other learned codecs while running in real‑time on an iPhone 17 Pro Max, though it still lags on traditional metrics like PSNR.
AIJPEG AIPICO
0 likes · 10 min read

The paper introduces ResULIC, a residual‑guided ultra‑low‑bitrate image compression framework that combines semantic residual coding, a compression‑aware diffusion model, and perceptual fidelity optimization to dramatically improve visual quality and outperform prior diffusion‑based methods on standard benchmarks.
ResULICdiffusion modelimage compression
0 likes · 12 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

This article reveals how Zhihu’s growth engineering team dissected activity‑page rendering bottlenecks, applied front‑end performance techniques such as early resource loading, image compression, pre‑rendering, and metric‑driven optimization (FCP, CLS, INP), and ultimately boosted page reach and conversion rates dramatically.
frontendgrowthimage compression
0 likes · 23 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

This article documents the challenges of compressing PNG images in Java, demonstrates why Thumbnailator can increase file size, and presents a practical solution using OpenViewerFX together with Thumbnailator, including code examples, Maven dependencies, and important implementation notes.
BackendJavaPNG
0 likes · 5 min read

This article explains how designers and developers can use a short Python script to automatically compress large numbers of high‑resolution images, covering the problem background, required environment, step‑by‑step implementation, and the impressive compression results achieved.
PythonTutorialautomation
0 likes · 3 min read

This article explains how Android's resources.arsc file is generated, identifies duplication and size issues in multi‑module projects, and presents a Gradle‑based solution that inserts a custom task after processReleaseResources to deduplicate resources and compress images, reducing the final APK size.
AndroidGradleimage compression
0 likes · 11 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 explains how the Android resources.arsc file is generated, identifies the problem of duplicate and uncompressed image resources in multi‑module projects, and presents a Gradle‑based solution that inserts a custom task after processReleaseResources to deduplicate resources, compress images using pngquant, guetzli and cwebp, and repack the .ap_ files, resulting in significant APK size reduction.
APKAndroidGradle Plugin
0 likes · 10 min read

This article explains the image‑processing workflow used for the Double Eleven event, covering format selection, CDN scaling and quality parameters, WebP conversion, practical URL suffix rules, and additional front‑end tips that together dramatically improve page load speed and user experience.
CDNFrontend DevelopmentResponsive Images
0 likes · 10 min read

The guide shows how to shrink a Baidu iOS app by converting PNGs to HEIC within Asset Catalogs—leveraging Xcode’s actool for compression, avoiding pngquant‑induced alpha issues, and employing combined static LinkMap/Mach‑O parsing and runtime isa‑flag checks to prune never‑instantiated classes.
Bundle OptimizationHEICUnused Class Detection
0 likes · 25 min read

DeWu reduces its APK size by removing unused plugin resources, compressing images with WebP, Guetzli, PNGQuant and Gifsicle, deduplicating and obfuscating ARSC entries, applying 7‑zip compression, delivering large assets dynamically, and continuously cleaning unused resources through compile‑time checks and runtime scanning.
APKARSCAndroid
0 likes · 15 min read


HomeTechMay 24, 2023 · Frontend Development
This article explains the AVIF image format, its superior compression and quality compared to JPEG and WebP, provides a detailed comparison of image formats, offers conversion tools and command‑line examples, and shows how to integrate AVIF on the client, server, and via JavaScript polyfills for modern web development.
AVIFBrowser CompatibilityNode.js
0 likes · 13 min read

The article details Baidu APP iOS package size reduction by identifying and removing unused images, converting resources to Asset Catalogs, and leveraging HEIC and appropriate compression, achieving a 9.75 MB saving while outlining scripts, regex extraction methods, and best‑practice recommendations.
Baidu appHEICPackage Size
0 likes · 18 min read

This guide explains how to create a Chrome extension that intercepts image downloads from design tools, compresses PNG files using WebAssembly‑compiled pngquant and advpng, uploads the optimized assets to a CDN, and manages them with IndexedDB for efficient front‑end workflows.
Chrome extensionIndexedDBWebAssembly
0 likes · 13 min read

Tencent Video slashed static image bandwidth costs by over 60% using AVIF compression and on‑the‑fly image sampling, which together cut average image size by more than half, reduced memory, latency and decode time, and saved tens of millions of yuan across billions of daily requests.
AVIFTencent Cloudbandwidth optimization
0 likes · 14 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 how the veImageX platform leverages a self‑developed HEIF codec and AI‑driven optimization to shrink image sizes by over 30%, reduce bandwidth costs, maintain visual quality, and provide flexible integration options for both native apps and web pages.
AIHEIFbandwidth optimization
0 likes · 9 min read

This article explains how to leverage Web Workers and OffscreenCanvas to offload heavy Excel file generation and bulk image compression from the main thread, improving UI responsiveness and reducing rendering stalls in typical backend‑admin web applications.
Excel ExportWeb Workersimage compression
0 likes · 14 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

This article introduces Image Tiny, a free, client‑side image compression tool built with Tauri, Rust, and WebAssembly, compares its compression rates with TinyPNG, details its features, technical implementation, code snippets, and shares practical tips and pitfalls for developers.
RustTaurifrontend tool
0 likes · 14 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


政采云技术May 17, 2022 · Frontend Development
This article explains why image resources dominate front‑end performance, describes how binary depth relates to color representation, compares common image formats (JPEG, PNG‑8/24, SVG, WebP, Base64), and provides practical techniques such as compression tools, CDN/OSS deployment, and lazy‑loading code to dramatically improve page load speed.
CDNOSSWeb Performance
0 likes · 12 min read

This article explains image compression fundamentals, compares bitmap, direct color, lossless and lossy methods, evaluates Node.js libraries imagemin, sharp, and TinyPNG through JPEG/PNG tests, and provides practical usage code and insights into plugin‑based compression algorithms.
LosslessLossySharp
0 likes · 8 min read

Learn step‑by‑step how to compress a 1 MB image down to under 100 KB using Java’s ImageIO API and OpenCV, covering the theory of image compression, code snippets for reading, configuring compression parameters, and performance comparisons between native JDK and OpenCV solutions.
ImageIOJavaOpenCV
0 likes · 10 min read

This article details a comprehensive front‑end performance optimization project that includes lazy loading, CDN deployment, domain consolidation, image format conversion with AVIF/webp, security‑header hardening, and bundle size reduction by replacing large Moment.js dependencies with Luxon, all validated through WebPageTest and Lighthouse metrics.
CDNimage compressionsecurity headers
0 likes · 8 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

This article explains the PNG image format, covering its full name, lossless compression, size advantages, transparency support, the three main PNG types, the file’s chunk‑based data structure, hexadecimal header details, factors that affect compression efficiency, and the two‑stage prediction‑and‑deflate compression process.
DeflateLZ77PNG
0 likes · 10 min read

This article explains what a Blob is, introduces the Blob Web API with its constructor, properties, and methods, and demonstrates practical scenarios such as chunked uploads, downloading data, creating Blob URLs, converting to Base64, image compression, PDF generation, and compares Blob with ArrayBuffer, providing complete code examples for each use case.
BLOBBase64File
0 likes · 20 min read

This article explains how to analyze and reduce the size of iOS .ipa packages by classifying resources, using LSUnusedResources to identify unused files, isolating business‑line assets via podspec subspecs, and automating image compression with tools like ImageOptim, TinyPNG and pre‑commit Git hooks.
Resource Optimizationgit-hooksiOS
0 likes · 9 min read


政采云技术Apr 26, 2020 · Frontend Development
This article provides a step‑by‑step tutorial on implementing client‑side image compression in JavaScript with the Canvas API, including a complete Vue component, detailed API explanations, handling of file input, canvas drawing, base64 conversion, and cross‑browser download techniques.
Canvasimage compression
0 likes · 10 min read

This article presents a system‑level approach that performs deep‑learning inference directly on JPEG frequency components, uses a gating mechanism to select important DCT coefficients, and demonstrates higher accuracy with far lower bandwidth for image classification and instance segmentation tasks.
Bandwidth ReductionComputer Visiondeep learning
0 likes · 22 min read

This article explains how to use Python to analyze Android APK packages, extract basic statistics, identify optimizable resources such as oversized images, duplicate files, and unused assets, and provide data‑driven guidance for reducing APK size and improving distribution efficiency.
APKDEXPython
0 likes · 22 min read

This article details how Alibaba's engineers reduced per‑image feature size from 120 KB to an average of 13 KB and accelerated Euclidean distance calculations from 50 µs to 9 µs through bitmap, offset, and duplicate‑value compression techniques, enabling efficient large‑scale image retrieval.
Large-Scale Retrievaleuclidean distancefeature vectors
0 likes · 15 min read

The Meitu XiuXiu community tackled rapid user‑growth‑induced performance bottlenecks by deploying end‑to‑end monitoring (client Hubble and RED‑based server metrics), full‑link load testing, DNS and image‑delivery optimizations, and server‑side tuning such as bias‑locking removal and JIT warm‑up, emphasizing user‑experience and cross‑team collaboration.
BackendDNS Optimizationfull‑link testing
0 likes · 25 min read

QQ Album, storing over 2 trillion images across 300 PB, uses a distributed KV store, high‑performance compression (WebP, sharpP), regional “parks” with synchronized indexes, multi‑region disaster recovery, and a nationwide CDN to deliver low‑latency uploads and downloads for billions of daily user interactions.
KV storeQQ Albumcdn acceleration
0 likes · 7 min read

This article shares Tencent SNG's practical experience in bandwidth cost optimization, detailing how advanced image and video compression techniques, adaptive resolution, AI‑driven super‑resolution, and efficient transcoding pipelines reduced over a billion yuan in cash flow while preserving user experience and product quality.
AIOperationsbandwidth optimization
0 likes · 24 min read

JD's DPG image compression technique cuts image file size by about half, lowers CDN bandwidth by 50%, and delivers visual quality comparable to WebP across all browsers and platforms, thereby speeding rendering and improving shopping experience.
CDN optimizationDPGWebP
0 likes · 4 min read


21CTOJan 29, 2018 · Fundamentals
This article reviews the evolution of image formats such as JPEG, WebP, HEVC, and Tencent's proprietary WXAM and SHARP, explains psychovisual JPEG optimization with Guetzli, details GPU‑accelerated performance tweaks, and shows how these techniques saved terabytes of bandwidth and reduced user download latency across Tencent's massive image platform.
Bandwidth ReductionGPU accelerationGuetzli
0 likes · 14 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 explains how to implement client‑side image compression in mobile browsers by converting selected files to DataURL, resizing them with a Canvas element, adjusting compression rates based on file size, and finally uploading the compressed Blob to a server via AJAX.
CanvasFileReaderHTML5
0 likes · 7 min read

This article describes a project that replaces CPU‑based image compression with an FPGA solution, detailing the system hierarchy, two‑phase development (function verification and performance boost), pipeline and frequency optimizations, software‑FPGA interaction, and a measured 25‑fold speedup over a 64‑core server.
FPGAHigh CompressionParallel Encoding
0 likes · 6 min read


21CTONov 30, 2017 · Frontend Development
Learn five practical techniques—image optimization, minimizing HTTP requests, proper file placement, CSS/JS compression, and external linking—to dramatically improve website loading times and security, with actionable tips for both beginners and seasoned developers, plus WordPress-specific recommendations.
Frontend OptimizationHTTP requestsWordPress
0 likes · 4 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

The article describes how an elastic container‑based computing platform replaces tens of thousands of physical servers to deliver billions of daily image‑compression operations, while also supporting video transcoding, Spark jobs, and AI workloads through resource isolation, named services, dynamic scheduling, and load‑balancing techniques.
Dynamic Scalingcloud platformcontainer scheduling
0 likes · 8 min read


21CTOAug 19, 2017 · Cloud Computing
Tencent’s elastic computing platform replaces 24,000 physical servers with just 6,000 containers, delivering sustainable compute for billions of daily image compressions while also supporting video transcoding, Spark jobs, and AI workloads through dynamic resource isolation, named services, and intelligent scheduling.
cloud infrastructurecontainer orchestrationelastic computing
0 likes · 8 min read


21CTOAug 5, 2017 · Operations
QQ Album, China’s largest photo service with over 2 trillion images and 300 PB of storage, achieves massive scale through a layered architecture that combines MySQL indexing, a custom TFS‑based KV store, SSD‑optimized TSSD, aggressive compression, regional zones, CDN acceleration, and near‑upload strategies for low latency and high availability.
Cloud Architecturecdn accelerationimage compression
0 likes · 7 min read

The GIF format, introduced by CompuServe in 1987, uses LZW lossless compression and a block‑based file structure supporting 256‑color palettes, transparency, and animation, while efficient color‑quantization methods such as octree trees dramatically speed encoding compared to slower median‑cut algorithms without sacrificing visual quality.
GIFLZWcolor quantization
0 likes · 18 min read

The article describes how JD.com transitioned from open‑source tools to its own distributed file system JFS, completed a massive one‑month migration of billions of images, improved compression with Intel‑optimized pipelines and blind‑watermark technology, and outlines the ongoing scalability and security innovations.
Image storageblind_watermarkdistributed file system
0 likes · 5 min read


21CTOJun 13, 2017 · Frontend Development
The article reviews Google’s Guetzli JPEG compressor, shares real‑world testing on a large high‑resolution image, discusses memory and CPU requirements, shows size reductions across quality settings, and offers practical advice for integrating it into web projects.
GuetzliJPEG optimizationfrontend performance
0 likes · 7 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

To shrink Meituan’s Android APK, developers can optimize the ZIP layout, enable ProGuard/R8 dex shrinking, inline R fields, convert images to WebP or VectorDrawable, disable redundant PNG crunching, activate shrinkResources, limit packaged languages, obfuscate resources with tools like AndResGuard, and eliminate duplicate or unused assets.
APK size reductionAndroidimage compression
0 likes · 18 min read

To shrink the QQ Music Android APK, the team replaced manual image compression with a multithreaded pngquant workflow that compresses PNGs at 90 % quality, integrates into the RDM build, cuts the res directory by 1.97 MB and the overall package by 2.22 MB, delivering faster, maintainable builds.
AndroidGradleResource Optimization
0 likes · 14 min read

This article explains how WebP's lossless and lossy compression, including alpha and animation support, achieves significantly smaller image sizes than JPEG, PNG, and GIF, outlines its encoding pipeline, file structure, cross‑format comparisons, and current browser and Android implementation status.
AndroidLosslessLossy
0 likes · 15 min read

This article compiles practical techniques for reducing image size, selecting optimal formats like WebP, leveraging compression libraries, employing CDN and HTTP caching strategies, and handling server‑side processing to improve bandwidth usage and user experience on both mobile and desktop platforms.
Cachingfrontendimage compression
0 likes · 6 min read

The article examines the performance challenges of Taobao's personalized homepage—multiple data sources, numerous modules, and heavy image loads—and outlines concrete front‑end techniques such as critical‑module prioritization, lazy loading, lazy execution, image compression, caching, and easing animations to achieve faster first paint and smoother scrolling.
CachingTaobaofrontend
0 likes · 12 min read


21CTODec 19, 2015 · Fundamentals
The article explores the history and principle of the Fourier Transform, illustrating how this mathematical prism decomposes complex waveforms into simple sine components and underpins technologies such as audio compression, image JPEG, speech recognition, scientific imaging, and even space research.
Audio CompressionFourier TransformSignal Processing
0 likes · 10 min read

Zhitu, a Tencent front‑end tool, compresses PNG, JPEG, GIF images and automatically converts them to optimal formats like WebP; this guide shows how to manually upload images or integrate the gulp‑imageisux plugin into your build process to achieve significant size reductions while preserving visual quality.
Frontend OptimizationTencentgulp
0 likes · 3 min read

WebP, introduced by Google in 2010, can reduce image file size by up to 40% compared to JPEG without losing quality, and this guide explains its advantages, compatibility challenges, and practical solutions for browsers, iOS, and Android using JavaScript detection and platform‑specific handling.
JavaScriptWebPcross-platform
0 likes · 3 min read

The article describes Weibo's large‑scale cross‑IDC distributed image storage system, its upload and download workflows, the challenges of massive seasonal traffic spikes, and the custom pipeline and lightweight compression library designed to achieve strong consistency and low‑latency image delivery.
Image storageWeibobackend architecture
0 likes · 8 min read
