MineClone5/tools/convert_all_tga_to_png.bash

11 lines
144 B
Bash
Executable File

#!/bin/bash
for name in ./*.tga
do
convert "$name" "${name%.*}".png
# Slow and useless:
# optipng -o7 -zm1-9 "${name%.*}".png
done