Skip to main content

Yummy Optimizer for Gorgeous Assets

Project description

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

Changelog

  • 0.9.0-beta1: First release (only GLB output for models, no image auto output format)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yoga-0.9.0b1.tar.gz (2.0 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page