Merged 2006-12-13T10:18:32Z!crazy-ivanovic@gmx.net into trunk

This commit is contained in:
Isaac Clerencia Perez 2006-12-13 10:19:48 +00:00
parent 02aba410ef
commit 8bf1727dab

View file

@ -13,14 +13,14 @@
#
# Scipt to strip ICC profiles from all png files within Wesnoth
#
# Requirements: bash, imagemagick
# Requirements: bash, imagemagick, optipng
# HowToUse: start the script from the wesnoth maindir
# make sure that the correct files are about to be commited
# enter a commit message
# enjoy ICC profile clean png images
find . -name '*.png' -exec grep -li profil {} \; > images_to_convert
for i in `cat images_to_convert`; do convert -strip $i $i; done
for i in `cat images_to_convert`; do convert -strip $i $i; optipng -q -o5 -nb -nc -np $i; done
svn ci
rm images_to_convert