For image compression settings, the strongest matches are oxipng/oxipng (This is a specialized command-line utility for lossless PNG), curzibn/luban (This library provides automated image compression, batch processing, and) and lymphatus/caesium-image-compressor (Caesium is a comprehensive image optimization tool that provides). imageoptim/imageoptim and imagemagick/imagemagick round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Find the best open-source image compression tools. Compare top-rated libraries by performance and features to find the best fit for your project.
Oxipng is a high-performance command-line utility written in Rust designed for lossless PNG image optimization and data minimization. It functions as a lossless compressor that reduces file sizes without altering visual quality. The tool distinguishes itself through the use of multi-threaded task parallelism to accelerate the processing of large image batches. It employs iterative recompression strategies and symmetric-pass optimization to find the smallest possible file size for each image. The software's capability surface covers the removal of non-essential metadata chunks and the normali
This is a specialized command-line utility for lossless PNG optimization and metadata stripping that supports batch processing, though it is limited to the PNG format rather than providing general-purpose image format conversion.
Luban is a memory-safe image loading and optimization library for Android. It functions as an image optimizer and compression tool designed to reduce image file sizes and resolutions while preventing application crashes through the use of pixel limits and downsampling. The project replicates the specific compression and downsampling logic used by WeChat Moments to ensure images meet social media quality standards. It uses adaptive resolution scaling and dimension-aware strategies to balance visual quality with storage efficiency. The library covers bulk image processing, format optimization,
This library provides automated image compression, batch processing, and resolution scaling specifically for Android applications, fitting the category of an image optimization tool despite its platform-specific focus.
Caesium is an image compression tool that reduces file sizes for JPG, PNG, WebP, and TIFF images while preserving visual quality and metadata. It operates as a cross-platform desktop application with a graphical interface, a command-line tool for scripting and automation, and a web-based interface for browser uploads, all supporting batch processing of multiple images at once. The tool distinguishes itself by offering multiple interaction modes — desktop, terminal, and web — each capable of handling the same core compression tasks. It preserves folder structure when saving compressed images,
Caesium is a comprehensive image optimization tool that provides lossless and lossy compression, format conversion, and batch processing through both a command-line interface for automation and a desktop application.
ImageOptim is a macOS image optimizer and GUI image compressor designed to reduce image file sizes for web and disk storage. It functions as a lossless image optimizer that removes unnecessary metadata and optimizes encoding to reduce file sizes without losing pixel data. The application handles macOS media asset management and web image preparation by shrinking files to improve website loading speeds and reduce storage usage. It provides both lossless and lossy compression options to maintain visual quality while reducing the disk space used by images.
ImageOptim is a macOS-native GUI tool that provides lossless compression, metadata stripping, and batch processing for image optimization, though it lacks a native API for programmatic integration.
ImageMagick is a comprehensive software suite for the creation, editing, composition, and conversion of digital images. It functions as both a command-line utility for batch processing and automation, and as a programming library that allows developers to integrate advanced image manipulation capabilities into external applications. The project is distinguished by its modular architecture, which supports hundreds of image formats through a pluggable coder system and external delegate libraries. It is designed for high-performance environments, utilizing memory-mapped pixel caching, stream-ori
ImageMagick is a powerful, industry-standard suite that provides robust command-line and programmatic tools for batch image processing, format conversion, compression, and metadata management.
This project is a high-performance image transformation server and media optimization proxy designed to process, resize, and convert assets on the fly. It functions as a secure pipeline that fetches remote source files and applies transformations—such as cropping, watermarking, and visual filtering—directly through parameters defined in the request URL. The service distinguishes itself through a focus on secure, resource-aware delivery. It protects infrastructure by validating incoming requests with cryptographic signatures to prevent unauthorized access and enforces strict limits on file dim
This is a high-performance image processing server that provides on-the-fly format conversion, compression, and metadata stripping, making it a comprehensive solution for automated image optimization.
Lepton is a specialized tool and file format designed for the lossless compression and efficient storage of JPEG image data. It functions as a lossless compressor and storage optimizer that reduces file sizes without altering original pixel data, ensuring bit-perfect reconstruction of the images. The project focuses on reducing disk space and network bandwidth requirements for digital image archives. It provides capabilities for both the compression and decompression of JPEG files to maintain high-quality image storage while minimizing the overall data footprint. The implementation utilizes
Lepton is a specialized tool for lossless JPEG compression and storage optimization that directly addresses the core need for reducing image file sizes without altering pixel data.
Imagor is a high-performance image processing server and Go library that functions as an on-demand image proxy. It provides a secure transformation API for resizing, filtering, and optimizing images, as well as a tool for generating static thumbnails from video files. The system distinguishes itself by using a demand-driven processing engine to handle large images without loading entire files into memory. It features cryptographic request signing to prevent unauthorized URL tampering and employs header-based format negotiation to automatically serve the most efficient image format supported b
This is a high-performance image processing server that provides on-demand optimization, format conversion, and dynamic delivery, making it a strong fit for automated image handling workflows.
TinyPNG4Mac is a native macOS image compression client and desktop optimizer. It serves as a wrapper for the TinyPNG API, allowing for the reduction of image file sizes and format conversion without the use of a web browser. The utility integrates directly into the macOS environment, providing workflow automation through the Finder and system right-click context menus. It also supports drag-and-drop file handling to initiate the compression process. The application manages image processing by communicating with a remote service via a REST API, utilizing asynchronous request queues to handle
This is a native macOS desktop client that automates image compression and format conversion by acting as a wrapper for the TinyPNG API, fitting the category as a specialized tool for these tasks.
Photon is a high-performance image processing library written in Rust. It serves as a pixel manipulation toolkit and image format transcoder, providing a WebAssembly graphics engine for executing visual effects and transformations directly within web browsers. The project is built around a functional image pipeline, which allows for the programmatic chaining of sequential transformation operations. This architecture supports the creation of complex visual effects through a coded pipeline. The library covers a wide range of image processing capabilities, including color management across mult
This is a high-performance image processing library that provides the core capabilities for format conversion, resizing, and pixel manipulation, though it functions as a developer-focused toolkit rather than a standalone batch-processing application.
imagemin is a Node.js image optimizer and minification tool designed to reduce the storage size of image assets. It functions as a build pipeline asset optimizer that employs both lossy and lossless compression to remove unnecessary metadata and optimize pixel data. The project uses a plugin-based architecture to extend its functionality, loading external modules that handle specific image formats and compression algorithms. This allows the tool to serve as a flexible toolkit for automating image compression within development pipelines. The system covers broad capabilities for web performan
Imagemin is a flexible Node.js-based toolkit that provides automated image optimization, lossless compression, and format conversion through its plugin-based architecture, making it a standard choice for integrating these tasks into development pipelines.
Guetzli is a lossy image compression tool and perceptual JPEG encoder. It converts PNG or JPEG inputs into high-density JPEG files, reducing file size by removing data that the human eye cannot easily detect. The tool utilizes human vision models to optimize the balance between file size and visual fidelity. It employs perceptual quality metrics and psychovisual similarity estimation to maintain high visual quality while maximizing compression density. The project includes a visual difference analyzer capable of generating spatial difference heatmaps and calculating scalar similarity scores.
Guetzli is a specialized image compression tool that focuses on high-density JPEG encoding, though it lacks the broader format conversion and batch processing features requested.
Imaginary is a self-hosted HTTP server for image processing that applies transformations like resizing, cropping, rotating, and format conversion through URL parameters. It operates as a stateless request-response pipeline, processing images fetched from remote URLs or served from a local directory without requiring client-side dependencies. The server distinguishes itself through its security and access control capabilities, offering optional API key validation, HMAC-signed URL verification, and remote origin whitelisting to restrict which image sources are permitted. It also provides a heal
Imaginary is a self-hosted image processing server that provides format conversion and transformation capabilities via an API, making it a strong tool for automated image workflows even though its primary focus is on dynamic transformations rather than static compression optimization.
Mozjpeg is a high-performance C library for encoding, decoding, and transcoding JPEG images. It serves as a binary-compatible, drop-in replacement for standard JPEG libraries, maintaining existing function signatures to improve compression efficiency without requiring changes to application logic. The library functions as an image optimizer that reduces file sizes through lossless progressive encoding and coefficient optimization. It utilizes trellis-based quantization and SIMD-accelerated processing to optimize the trade-off between visual quality and file size. Its broader capabilities inc
This library provides high-performance JPEG compression and optimization, serving as a core engine for reducing file sizes through advanced encoding techniques, though it focuses specifically on the JPEG format rather than providing a broad multi-format conversion suite.
Squoosh is a browser-based image optimizer that compresses and converts image files directly within the local environment. By performing all operations on the user device, it eliminates the need for server-side processing, ensuring that sensitive data remains private and reducing network latency. The tool utilizes a collection of high-performance image codecs compiled via WebAssembly to provide professional-grade file optimization and format conversion. To maintain interface responsiveness during resource-intensive tasks, the application offloads image manipulation to background threads and u
Squoosh is a browser-based image optimizer that provides high-quality compression and format conversion, though it is designed as a client-side application rather than a server-side tool with an API.
Image Optim is a command-line utility and build-time integration tool designed to automate the compression of image assets. It functions as a processing engine that coordinates multiple external compression utilities to perform both lossless and lossy transformations, reducing file sizes for web and application deployment. The tool distinguishes itself through a robust orchestration layer that manages parallel task execution and recursive directory traversal to process large batches of files efficiently. It includes built-in benchmarking capabilities to measure the effectiveness of different
This tool provides a command-line interface and Ruby library to automate image optimization by wrapping various external utilities, supporting lossless compression, format conversion, and batch processing.
This project is a PHP library designed to automate image compression by orchestrating external command-line binaries. It provides a unified interface for managing the execution, configuration, and error handling of system-level tools, allowing developers to integrate image optimization directly into server-side application workflows or automated build pipelines. The library distinguishes itself through its ability to chain multiple independent processing tools into a single, sequential workflow. By defining custom optimization sequences and configuring specific command-line arguments, users c
This PHP library provides a wrapper for various image optimization tools to handle compression and format conversion, making it a direct tool for automating image performance tasks.
Browser image compression is a JavaScript utility designed to reduce image file sizes directly within the web browser. By adjusting dimensions and quality settings locally, the library minimizes bandwidth usage and storage requirements before files are uploaded to a server. The library maintains interface responsiveness by offloading heavy image manipulation tasks to background worker threads. It manages large image files using memory-efficient binary objects and utilizes the browser canvas application programming interface to re-encode data into formats such as JPEG or WebP. Users can contr
This library provides client-side image compression and resizing directly in the browser, offering a practical solution for optimizing images before upload, though it lacks server-side batch processing or API-based integration.
This package is a library for automating the compression and file size reduction of images within a web application. It functions as a utility that intercepts media assets to ensure they are optimized for web delivery before they are stored or served. The project distinguishes itself by orchestrating external command-line tools to perform heavy compression tasks outside of the main application runtime. It utilizes a strategy-based approach where individual processing algorithms are encapsulated into interchangeable classes, allowing for the development of custom optimization pipelines tailore
This is a PHP package designed to automate image optimization and compression within Laravel applications, providing a wrapper for various command-line tools to handle format conversion and metadata stripping.
Sharp is a high-performance image processing library for Node.js. It serves as a native extension and wrapper for the libvips framework, providing tools for image resizing, format conversion, and programmatic data manipulation. The project enables the transformation of images into web-friendly formats such as WebP and AVIF while preserving color profiles and alpha channels. It also provides capabilities for generating blank image buffers with specified dimensions and background colors. The library covers a broad range of image manipulation utilities, including rotation, extraction, compositi
Sharp is a high-performance image processing library that provides robust support for format conversion, resizing, and compression, making it a powerful tool for building automated image optimization pipelines.
SVGO is a Node.js vector graphics optimizer and minifier designed to reduce the file size of SVG images. It functions as a pluggable processor that strips redundant XML elements, removes unnecessary metadata, and simplifies paths to create smaller payloads. The tool utilizes a customizable engine where image data is passed through a pipeline of programmable rules and optimization presets. This architecture allows for the integration of custom plugins to apply specialized transformation rules to vector files. The system includes a command-line interface for batch file processing and recursive
This tool provides automated optimization, minification, and metadata stripping specifically for SVG files, making it a specialized but effective solution for vector image processing.
A lightweight image compression and conversion library for Angular. Ideal for optimizing large images (like 10MB+) before uploading to S3 or a server. Supports format conversion (e.g., JPG → WebP), resizing, quality tuning, and base64 or Blob output.
This is a client-side library for Angular that handles image compression, resizing, and format conversion, making it a suitable tool for optimizing images before server upload.
Automated image compression for efficiently distributing images on the web.
This tool provides automated image compression and optimization for web performance, fitting the category by focusing on the core task of reducing image file sizes for distribution.
| Repository | Stele | Limbaj | Licență | Ultimul push |
|---|---|---|---|---|
| oxipng/oxipng | 4K | Rust | MIT | |
| curzibn/luban | 13.7K | C | Apache-2.0 | |
| lymphatus/caesium-image-compressor | 6K | C++ | GPL-3.0 | |
| imageoptim/imageoptim | 9.9K | HTML | GPL-2.0 | |
| imagemagick/imagemagick | 15.7K | C | other | |
| imgproxy/imgproxy | 10.9K | Go | Apache-2.0 | |
| dropbox/lepton | 5K | C++ | Apache-2.0 | |
| cshum/imagor | 4K | Go | Apache-2.0 | |
| kyleduo/tinypng4mac | 4K | Swift | MIT | |
| silvia-odwyer/photon | 3.9K | Rust | Apache-2.0 |