Flaca is a command-line utility designed to squeeze GIF, JPEG and PNG images without changing their visual content.
It is intended for production web assets, where reducing byte size can lower bandwidth use and improve page delivery. Rather than favouring speed or low resource consumption, Flaca performs exhaustive optimisation to chase smaller files, making it particularly suited to multi-core systems and batch workflows. It accepts files, directories and lists of paths, so collections of web graphics can be processed in a single run.
This is free and open source software.
Key Features
- Losslessly recompresses GIF, JPEG and PNG images while preserving the rendered image.
- Recursively searches directories and can accept multiple individual files in the same command.
- Reads absolute paths from a text file or standard input for scripted processing queues.
- Runs jobs in parallel across logical CPU cores, with an option to cap simultaneous workers.
- Lets users disable GIF, JPEG or PNG processing independently when a batch should be restricted to selected formats.
- Can skip images above a chosen pixel count to reduce the risk of excessive memory use.
- Removes unnecessary metadata by default for web optimisation, with an option to attempt preservation when required.
- Can preserve original file access and modification times and optionally ignore symbolic links.
- Includes a progress display and supports graceful early termination of queued work.
- Uses specialised format-specific optimisation, including MozJPEG and Oxipng-based processing.
Website: github.com/Blobfolio/flaca
Support:
Developer: Blobfolio, LLC
License: WTFPL License
Flaca is written in Rust. Learn Rust with our recommended free books and free tutorials.
Related Software
| Console Based Image Compression Tools | |
|---|---|
| MozJPEG | Mozilla JPEG Encoder Project |
| pngquant | Utility and a library for lossy compression of PNG images |
| SVGO | Node.js library and command-line application for optimizing SVG files |
| Oxipng | Multithreaded PNG optimizer, forked from Optipng |
| libjxl | Reference implementation of JPEG XL |
| libjpeg-turbo | JPEG image codec |
| QOI | The Quite OK Image Format |
| YOGA | Yummy Optimizer for Gorgeous Assets |
| pngcrush | Optimizer for PNG files |
| jpegoptim | Optimize JPEG files. Lossless and lossy compression available |
| OptiPNG | Advanced PNG optimizer |
| Guetzli | Perceptual JPEG encoder with excellent compression density at high quality |
| ECT | Fast and effective C++ file optimizer |
| Crunch | Lossy PNG image file optimization |
| zopflipng | PNG optimisation tool using zopfli |
| JPEG Archive | Utilities for archive JPEGs for long term storage |
| optimizt | CLI image optimization tool |
| picopt | Multi format lossless image optimize |
| tinifier | CLI tool for compressing images using the TinyPNG API |
Read our verdict in the software roundup.
Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |


Please read our Comment Policy before commenting.