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 GLB.
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:
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
Changelog
0.9.1b1: * Automatic selection of the output format (png or jpeg), * Prevent duplication of textures that are shared between materials, * Fixes Windows paths of textures.
0.9.0b1: First release (only GLB output for models, no image auto output format)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.