Files
fnx_web/res/static/img/background_patterns/create_transparent.sh

15 lines
350 B
Bash
Raw Normal View History

2022-03-13 15:42:32 +01:00
#!/bin/bash
transparent () {
convert $1.png -alpha set -channel a -evaluate set $2 $1_transparent.png
}
2023-10-23 17:09:15 +02:00
for i in {0..20}; do transparent "checker${i}" 6%; done
transparent "checker_wednesday" 8%
transparent "checker_dwarf" 8%
transparent "checker_developers" 8%
transparent "checker_halloween" 8%
transparent "checker_christmas" 8%
2022-03-13 15:42:32 +01:00
optipng *.png