Yoga (Yummy Optimizer for Gorgeous Assets) is an image optimizer for Python. It wraps various image optimization tools (pngcrush, pngquant, jpegtran, jpegoptim, svgo, gifsicle) to reduce file sizes. Current version 1.3.4, release cadence is low.
pip install yogaNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Optimizes an image file using yoga's default optimizer.
Install required tools: sudo apt-get install pngquant jpegoptim or equivalent for your OS.
Replace optimizer='pngquant' with engine='pngquant'.
Catch RuntimeError and check that the necessary optimizer is installed and accessible via PATH.
No dependency data recorded yet.