fix use of imagemagick :(
authorRudolf Polzer <divverent@alientrap.org>
Sat, 6 Nov 2010 11:36:56 +0000 (12:36 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 6 Nov 2010 11:36:56 +0000 (12:36 +0100)
all
misc/tools/cached-converter.sh

diff --git a/all b/all
index c4a7660c8a7c939170d2f98f4b228ff4d97149c7..263d7d77ca5c4e5a8e55d48514a4fb3cc9d04131 100755 (executable)
--- a/all
+++ b/all
@@ -1544,7 +1544,7 @@ case "$cmd" in
                # texture: convert to jpeg and dds
                verbose export do_jpeg=true
                verbose export jpeg_qual_rgb=95
                # texture: convert to jpeg and dds
                verbose export do_jpeg=true
                verbose export jpeg_qual_rgb=95
-               verbose export jpeg_qual_a=99
+               verbose export jpeg_qual_a=100
                verbose export do_dds=true
                verbose export dds_flags=
                verbose export do_ogg=false
                verbose export do_dds=true
                verbose export dds_flags=
                verbose export do_ogg=false
index 83a307844b353e5a16674bcb6c2b69c455ad549b..e89a0f1890e63057d15c5fb28f42431c2b10b84d 100755 (executable)
@@ -158,7 +158,7 @@ reduce_rgb_jpeg()
 {
        i=$1; shift; shift
        o=$1; shift; shift
 {
        i=$1; shift; shift
        o=$1; shift; shift
-       convert "$i" "$o" && \
+       convert "$i" -quality 100 "$o" && \
        jpegoptim --strip-all -m"$1" "$o"
 }
 
        jpegoptim --strip-all -m"$1" "$o"
 }