Converts and optimizes images and 3D models
Go to file
Fabien LOISON 276f30a512
logo
2018-01-15 17:11:24 +01:00
test image resize implemented 2018-01-15 11:22:06 +01:00
yoga allow jpg in cli options 2018-01-15 11:22:21 +01:00
.gitignore initial commit 2017-12-08 10:33:10 +01:00
.travis.yml Travis CI 2017-12-13 10:15:11 +01:00
README.rst logo 2018-01-15 17:11:24 +01:00
logo.png logo 2018-01-15 17:11:24 +01:00
requirements.txt initial commit 2017-12-08 10:33:10 +01:00
setup.py adds entry point to setup.py 2018-01-15 16:23:07 +01:00
tox.ini initial commit 2017-12-08 10:33:10 +01:00

README.rst

YOGA - Yummy Optimizer for Gorgeous Assets
==========================================

.. figure:: ./logo.png
   :alt:

**YOGA** is a command-line tool and a library that can:

* convert and optimize images from various format to JPEG and PNG,
* *convert and optimize 3D models from various formats to gLTF and GLB.* **NOT YET IMPLEMENTED**

Images are opened using Pillow and optimized using Guetzli (for JPEGs) and
Zopflipng (for PNGs).

3D Models are converted and optimized using ASSIMP. If models contain or
reference images, they are processed by YOGA's image optimizer.

Convert and optimize an image from CLI::

    yoga  image  input.png  output.png
    yoga  image  --output-format=jpeg  --jpeg-quality=84  input.png  output.jpg
    yoga  image  --help

Convert and optimize a 3D model from CLI::

    # TODO (not implemented yet)
    yoga  model  --help