Prevent wesnoth-optipng from turning RGBA images into grayscale+alpha
This commit is contained in:
parent
7e07c2c13d
commit
17c242a9f1
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ optimize_imgfile()
|
|||
|
||||
echo "* processing ${1} (nice = ${2})..."
|
||||
|
||||
nice -n $2 convert -strip ${1} ${1}.new
|
||||
nice -n $2 convert -strip -define png:color-type=6 ${1} ${1}.new
|
||||
nice -n $2 optipng -q -o5 -nb -nc -np ${1}.new
|
||||
# Sometimes lower compression level gives a better compression
|
||||
nice -n $2 advdef -z -4 ${1}.new > /dev/null
|
||||
|
|
Loading…
Add table
Reference in a new issue