From b60cfbb1ea312f06180945a91a616a5273d7c216 Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Fri, 6 Aug 2010 08:22:25 +0200 Subject: [PATCH 1/1] fix splitting of textures into jpeg-with-alpha --- misc/tools/cached-converter.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/tools/cached-converter.sh b/misc/tools/cached-converter.sh index 1e6c0eb9..a9098cbf 100755 --- 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" } -- 2.39.2