☰
Debian Codegraph
@
2.4.0+dfsg-2
/
/
graphics
/
recolor.sh
☽
☼
graphics/recolor.sh
code
plain
raw
symbols
SCIP
CC0-1.0
Cong Xu <
[email protected]
>
debian/copyright
1
#!
/bin/sh
2
#
3
# Recolor sprites based on C-Dogs palette
4
# TODO: force RGB, don't use grayscale
5
#
6
for image in *.png; do
7
convert "$
image
" +depth +dither -remap palette.png "$
image
"
8
done