
Security News
Meet Socket at Black Hat and DEF CON 2025 in Las Vegas
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
|Github| |Discord| |PYPI Version| |Build Status| |Black| |License|
.. figure:: https://github.com/wanadev/yoga/raw/master/logo.png :alt:
YOGA is a command-line tool and a library that can:
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.
EXAMPLE: Converting and optimizing 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
EXAMPLE: Converting and optimizing a 3D model from CLI::
yoga model input.fbx output.glb
yoga model --no-graph-optimization --no-meshes-optimization --image-output-format=jpeg --image-jpeg-quality=84 input.fbx output.glb
yoga model --help
.. _glTF and GLB: https://www.khronos.org/gltf/ .. _Pillow: https://github.com/python-pillow/Pillow .. _Guetzli: https://github.com/google/guetzli .. _MozJPEG: https://github.com/mozilla/mozjpeg .. _Zopflipng: https://github.com/google/zopfli .. _libwebp: https://chromium.googlesource.com/webm/libwebp/ .. _assimp: https://github.com/assimp/assimp
the install section of the documentation <https://wanadev.github.io/yoga/install.html>
_Command Line Interface (CLI) <https://wanadev.github.io/yoga/cli/index.html>
_Python API <https://wanadev.github.io/yoga/python/index.html>
_Contributing <https://wanadev.github.io/yoga/contributing.html>
_[NEXT] (changes on master
that have not been released yet):
v1.3.3:
v1.3.2 / v1.3.2-1:
v1.3.1-1:
This version has no code change from the v1.3.1. It is only an update of the distribution :
dist: Added scripts to build a standalone binary version of YOGA on Linux
v1.3.1:
v1.3.0:
v1.2.3:
v1.2.2:
v1.2.1:
v1.2.0:
arm64
and universal2
wheels for macOSx86
and x68_64
wheels for musl-based Linux distro (Alpine,...)imagequant <https://github.com/wanadev/imagequant-python>
_v1.1.2:
v1.1.1 (not published):
v1.1.0:
JPEG Optimization:
PNG Optimization:
CLI:
--version
option to get YOGA's versionyoga --help
usagePython versions:
NOTE for packagers:
mozjpeg-lossless-optimization <https://github.com/wanadev/mozjpeg-lossless-optimization>
_v1.0.0:
--png-slow-optimization
flag)--no-fix-infacing-normals
to disable Assimp's "fix
infacing normals" postprocess (#32, #33)v0.11.1:
v0.11.0:
v0.10.2:
v0.10.1:
v0.10.0:
v0.10.0b1:
v0.9.1b1:
v0.9.0b1: First release (only GLB output for models, no image auto output format)
.. |Github| image:: https://img.shields.io/github/stars/wanadev/yoga?label=Github&logo=github :target: https://github.com/wanadev/yoga .. |Discord| image:: https://img.shields.io/badge/chat-Discord-8c9eff?logo=discord&logoColor=ffffff :target: https://discord.gg/BmUkEdMuFp .. |PYPI Version| image:: https://img.shields.io/pypi/v/yoga.svg :target: https://pypi.python.org/pypi/yoga .. |Build Status| image:: https://github.com/wanadev/yoga/actions/workflows/python-ci.yml/badge.svg :target: https://github.com/wanadev/yoga/actions .. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg :target: https://black.readthedocs.io/en/stable/ .. |License| image:: https://img.shields.io/pypi/l/yoga.svg :target: https://github.com/wanadev/yoga/blob/master/LICENSE
FAQs
Yummy Optimizer for Gorgeous Assets
We found that yoga demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Meet Socket at Black Hat & DEF CON 2025 for 1:1s, insider security talks at Allegiant Stadium, and a private dinner with top minds in software supply chain security.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.