if [ -n "$fourcchack" ]; then
fourcchack_dir=`mktemp -d`
- convert "$src" -fx "u*u.a" "$fourcchack_dir/src.$ext"
+ convert "$src" -fx "u*u.a" -type TrueColorMatte "$fourcchack_dir/src.$ext"
src="$fourcchack_dir/src.$ext"
fi
dxt3) f="-t DXT3" ;;
dxt5) f="-t DXT5" ;;
esac
- s2tc $f "$@" -i "$src" -o "$dst"
+ s2tc_compress $f "$@" -i "$src" -o "$dst"
;;
esac