# Welcome to YOGA’s documentation!

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

- convert and optimize images from various format to JPEG, PNG and WEBP,

- 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.

Contents:

- Installing YOGA
  - From PyPI
  - From Sources
  - Windows Standalone Releases
- Command Line Interface
  - YOGA Image Command Line Interface
  - YOGA Model Command Line Interface
- Python API
  - YOGA Image Python API
  - YOGA Model Python API
- Contributing
  - Questions
  - Bugs
  - Pull Requests
  - Packaging YOGA
  - Developing YOGA
  - Building the Documentation
  - Updating ASSIMP

# Indices and tables

- Index

- Module Index