1
0
mirror of https://github.com/mt-mods/signs_lib.git synced 2024-11-15 22:20:18 +01:00
signs_lib/util/convert.sh
Niklp 1fdff47dc8
Fix out-of-bounds in 'combine' texture modifier
Co-authored-by: tenplus1 <tenplus1@users.noreply.github.com>
2024-02-26 16:15:32 +01:00

11 lines
302 B
Bash
Executable File

# inverts signs_lib font to black on transparent background
img_path=./
#img_results=./converted
#mkdir -p $img_results
for img in ${img_path}/*;
do
# convert -negate $img ${img_results}/${img#./*};
convert $img -background white -alpha remove -alpha off -negate -transparent white $img
done