Tag

image compression

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 23, 2024 · Backend Development

Java PNG Image Compression Using OpenViewerFX and Thumbnailator: Pitfalls and Solutions

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.

PNGThumbnailatorbackend
0 likes · 5 min read
Java PNG Image Compression Using OpenViewerFX and Thumbnailator: Pitfalls and Solutions
Python Programming Learning Circle
Python Programming Learning Circle
May 27, 2024 · Fundamentals

Batch Image Compression with Python: A 20‑Line Script Tutorial

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.

AutomationPythonTutorial
0 likes · 3 min read
Batch Image Compression with Python: A 20‑Line Script Tutorial
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Apr 16, 2024 · Mobile Development

Optimizing Android resources.arsc: Deduplication and Image Compression via a Custom Gradle Plugin

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
Optimizing Android resources.arsc: Deduplication and Image Compression via a Custom Gradle Plugin
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Feb 2, 2024 · Mobile Development

Android APK Size Optimization: Removing Duplicate Resources and Image Compression with a Gradle Plugin

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
Android APK Size Optimization: Removing Duplicate Resources and Image Compression with a Gradle Plugin
Baidu Geek Talk
Baidu Geek Talk
Jul 31, 2023 · Mobile Development

Optimizing iOS App Bundle Size with HEIC Images and Unused Class Detection

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.

Asset CatalogHEICUnused Class Detection
0 likes · 25 min read
Optimizing iOS App Bundle Size with HEIC Images and Unused Class Detection
DeWu Technology
DeWu Technology
Jul 19, 2023 · Mobile Development

Resource Optimization Practices in DeWu App: Plugins, Image Compression, Deduplication, and ARSC Shrinking

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
Resource Optimization Practices in DeWu App: Plugins, Image Compression, Deduplication, and ARSC Shrinking
HomeTech
HomeTech
May 24, 2023 · Frontend Development

Understanding AVIF Image Format: Benefits, Comparison, Conversion Tools, and Integration in Web Projects

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
Understanding AVIF Image Format: Benefits, Comparison, Conversion Tools, and Integration in Web Projects
Baidu App Technology
Baidu App Technology
Apr 19, 2023 · Mobile Development

Baidu APP iOS Package Size Optimization: Image Optimization Techniques

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.

Asset CatalogBaidu AppHEIC
0 likes · 18 min read
Baidu APP iOS Package Size Optimization: Image Optimization Techniques
Tencent Cloud Developer
Tencent Cloud Developer
Mar 27, 2023 · Cloud Computing

Tencent Video Image Optimization: AVIF Compression and Sampling to Reduce Static Bandwidth Costs

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
Tencent Video Image Optimization: AVIF Compression and Sampling to Reduce Static Bandwidth Costs
Sohu Tech Products
Sohu Tech Products
Mar 8, 2023 · Mobile Development

Android Image Compression Techniques and Luban Algorithm Analysis

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
Android Image Compression Techniques and Luban Algorithm Analysis
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 29, 2022 · Frontend Development

Using Web Workers for Large Excel Export and Batch Image Compression in Frontend Projects

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 ExportOffscreenCanvasfrontend performance
0 likes · 14 min read
Using Web Workers for Large Excel Export and Batch Image Compression in Frontend Projects
Sohu Tech Products
Sohu Tech Products
Sep 28, 2022 · Mobile Development

Understanding Android Image Compression: Fundamentals, Algorithms, and Luban Implementation

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
Understanding Android Image Compression: Fundamentals, Algorithms, and Luban Implementation
IT Services Circle
IT Services Circle
Jul 12, 2022 · Fundamentals

The Discrete Cosine Transform: History, Theory, and Its Impact on Image and Video Compression

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.

Algorithm HistoryDiscrete Cosine TransformJPEG
0 likes · 11 min read
The Discrete Cosine Transform: History, Theory, and Its Impact on Image and Video Compression
vivo Internet Technology
vivo Internet Technology
Jun 29, 2022 · Big Data

Lossless Image Compression Overview and Lepton Optimization for Large‑Scale Storage

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
Lossless Image Compression Overview and Lepton Optimization for Large‑Scale Storage
政采云技术
政采云技术
May 17, 2022 · Frontend Development

Performance Optimization: Image Compression, Loading Strategies, and Format Selection

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.

CDNImage FormatsOSS
0 likes · 12 min read
Performance Optimization: Image Compression, Loading Strategies, and Format Selection
IEG Growth Platform Technology Team
IEG Growth Platform Technology Team
Jan 24, 2022 · Fundamentals

Image Compression Techniques and Node.js Library Comparison (imagemin, sharp, TinyPNG)

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.

Node.jsSharpTinyPNG
0 likes · 8 min read
Image Compression Techniques and Node.js Library Comparison (imagemin, sharp, TinyPNG)
TAL Education Technology
TAL Education Technology
Dec 2, 2021 · Frontend Development

Website Performance Optimization: Lazy Loading, CDN, Image Formats, Security Headers, and Bundle Reduction

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.

CDNPerformanceWebpack
0 likes · 8 min read
Website Performance Optimization: Lazy Loading, CDN, Image Formats, Security Headers, and Bundle Reduction
Sohu Tech Products
Sohu Tech Products
Jul 15, 2020 · Frontend Development

Understanding and Using the Blob Web API in JavaScript

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.

Base64JavaScriptPDF
0 likes · 20 min read
Understanding and Using the Blob Web API in JavaScript
Xueersi Online School Tech Team
Xueersi Online School Tech Team
May 15, 2020 · Mobile Development

Optimizing iOS App Resources: Classification, Removal, Isolation, and Automated Image Compression

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.

git-hooksiOSimage compression
0 likes · 9 min read
Optimizing iOS App Resources: Classification, Removal, Isolation, and Automated Image Compression
政采云技术
政采云技术
Apr 26, 2020 · Frontend Development

JavaScript Image Compression Using Canvas and Vue

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.

JavaScriptVuecanvas
0 likes · 10 min read
JavaScript Image Compression Using Canvas and Vue