MineClone5/tools/convert_all_tga_to_png.bash

11 lines
144 B
Bash
Raw Normal View History

2022-03-03 23:08:52 +01:00
#!/bin/bash
for name in ./*.tga
do
convert "$name" "${name%.*}".png
# Slow and useless:
# optipng -o7 -zm1-9 "${name%.*}".png
done