Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3045)

Unified Diff: build/sanitize-png-files.sh

Issue 11881012: Remove all ancillary chunks except for tRNS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/sanitize-png-files.sh
diff --git a/build/sanitize-png-files.sh b/build/sanitize-png-files.sh
index 62faf6bd6a080273ba3679a582853376d64ea3a2..91826b5a2a3bca4ceac62e165622d0100cbc204f 100755
--- a/build/sanitize-png-files.sh
+++ b/build/sanitize-png-files.sh
@@ -20,7 +20,9 @@ function sanitize_file {
local file=$1
local name=$(basename $file)
pngcrush -d $TMP_DIR -brute -reduce -rem text -rem mkBT \
- -rem mkTS $file > /dev/null
+ -rem mkTS -rem iTXt -rem tEXt -rem zTXt -rem tIME \
Nico 2013/01/12 02:59:24 Looking through the pngcrush souce, it looks like
+ $file > /dev/null
+
mv "$TMP_DIR/$name" "$file"
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698