projects
/
xonotic
/
xonotic.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
68334b7
)
fix splitting of textures into jpeg-with-alpha
author
Rudolf Polzer <divVerent@alientrap.org>
Fri, 6 Aug 2010 06:22:25 +0000
(08:22 +0200)
committer
Rudolf Polzer <divVerent@alientrap.org>
Fri, 6 Aug 2010 06:22:25 +0000
(08:22 +0200)
misc/tools/cached-converter.sh
patch
|
blob
|
history
diff --git
a/misc/tools/cached-converter.sh
b/misc/tools/cached-converter.sh
index 1e6c0eb9bd395ae8e4c597aa06135fecfba947dc..a9098cbfad93f210c5d3782bb6d5f7010abcd5e9 100755
(executable)
--- a/
misc/tools/cached-converter.sh
+++ b/
misc/tools/cached-converter.sh
@@
-129,8
+129,8
@@
reduce_rgba_jpeg2()
i=$1; shift; shift
o=$1; shift
oa=$1; shift
- convert "$i" -alpha
extract
-quality 100 "$o" && \
- convert "$i" -alpha
off
-quality 100 "$oa" && \
+ convert "$i" -alpha
off
-quality 100 "$o" && \
+ convert "$i" -alpha
extract
-quality 100 "$oa" && \
jpegoptim --strip-all -m"$1" "$o" && \
jpegoptim --strip-all -m"$2" "$oa"
}