APACHE-2.0 License
This repository is a collection of image scripts for creating android image assets.
Install svgo and avocado:
npm install -g svgo avocado
./svg2xml.sh --help
# This creates a my_file.xml android vector resource
./svg2xml.sh my_file.svg
cwebp
in your path -> Installation cwebp
./webp.sh --help
# This creates image.webp files in the density bucket folders (drawable-xhdpi, drawable-xxhdpi, ...)
./webp.sh -dp=300 image.png