mirror of https://github.com/wanadev/yoga.git
README: description
This commit is contained in:
parent
77619be3ac
commit
d0034c64a8
23
README.rst
23
README.rst
|
@ -1,4 +1,25 @@
|
|||
YOGA - Yummy Optimizer for Gorgeous Assets
|
||||
==========================================
|
||||
|
||||
TODO
|
||||
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 --output-format=jpeg --jpeg-quality=84 input.png output.jpg
|
||||
yoga image --output-format=png input.png output.png
|
||||
yoga image --help
|
||||
|
||||
Convert and optimize a 3D model from CLI::
|
||||
|
||||
# TODO (not implemented yet)
|
||||
yoga model --help
|
||||
|
||||
|
|
Loading…
Reference in New Issue