this script should not be needed anymore with non-ancient SDL image versions
This commit is contained in:
parent
7c91ca07bd
commit
7f1a5c4c83
1 changed files with 0 additions and 27 deletions
|
@ -1,27 +0,0 @@
|
|||
#!/bin/bash
|
||||
# strip_image_profiles.sh
|
||||
# Copyright (C) 2006 by Nils Kneuper <crazy-ivanovic AT gmx DOT net>
|
||||
# Part of the Battle for Wesnoth Project http://www.wesnoth.org
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License.
|
||||
# This program is distributed in the hope that it will be useful,
|
||||
# but WITHOUT ANY WARRANTY.
|
||||
#
|
||||
# See the COPYING file for more details.
|
||||
#
|
||||
#
|
||||
# Scipt to strip ICC profiles from all png files within Wesnoth
|
||||
#
|
||||
# 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; optipng -q -o5 -nb -nc -np $i; done
|
||||
svn ci
|
||||
rm images_to_convert
|
||||
|
||||
# end strip_image_profiles.sh
|
Loading…
Add table
Reference in a new issue