YOGA is a command-line tool and a library that can convert and optimize images from various format to JPEG, PNG and WEBP, and convert and optimize 3D models from various formats to glTF and GLB.
Images are opened using Pillow and optimized using Guetzli and MozJPEG for JPEGs, Zopflipng for PNGs and libwebp for WEBPs.
3D Models are converted and optimized using assimp. If models contain or reference images, they are processed by YOGA’s image optimizer.
This is free and open source software.
The YOGA command line interface is divided in two sub-commands:
yoga imageto convert and optimize images,yoga modelto convert and optimize 3D models.
Key Features
- Output formats supported: PNG, JPEG, WebP, lossless WebP.
- Resize images – the image’s aspect ratio is always preserved.
- Tune the desired quality of the JPEG and WebP images.
- Tune the opacity threshold.
- Slow PNG optimization option – this selects an alternative preset for PNG optimization.
- Color quantization – reduce the number of distinct colors used in an image.
Website: wanadev.github.io/yoga
Support: GitHub Code Repository
Developer: Wanadev
License: BSD License
YOGA is written in Python. Learn Python 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 |
| 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 |
| cavif | Convert PNG and JPEG images to space-saving AVIF format |
| optimizt | CLI image optimization tool |
| Flaca | Losslessly compress GIF, JPEG and PNG images from the terminal |
| picopt | Multi format lossless image optimize |
| tinifier | CLI tool for compressing images using the TinyPNG API |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.