mirror of
https://github.com/minetest-mods/i3.git
synced 2024-12-27 11:20:40 +01:00
8 lines
255 B
Bash
8 lines
255 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# Colors with 0 alpha need to be preserved, because opaque leaves ignore alpha.
|
||
|
# For that purpose, the use of indexed colors is disabled (-nc).
|
||
|
|
||
|
cd ../textures
|
||
|
find -name '*.png' -print0 | xargs -0 optipng -o7 -zm1-9 -nc -strip all -clobber
|