]> de.git.xonotic.org Git - xonotic/xonotic-maps.pk3dir.git/commitdiff
Work around imagemagick regression that puts everything upside down 159/head
authorbones_was_here <bones_was_here@xa.org.au>
Sat, 19 Feb 2022 11:20:26 +0000 (21:20 +1000)
committerbones_was_here <bones_was_here@xa.org.au>
Sat, 19 Feb 2022 11:20:26 +0000 (21:20 +1000)
textures/alphamod/make.sh
textures/exomorphx/makenorms.sh
textures/phillipk1x/makenorms.sh
textures/phillipk2x/makenorms.sh

index 4f7e30eb35ec297dc9fdd28e4669d5996e0dc8b1..9c900da7cc3712ffb50206f5ee1a5cc8c430b841 100644 (file)
@@ -3,6 +3,7 @@ for x in `seq 0 100`; do
        a=$(($x * 20 / 9))
        b=$((33 + $x * 20 / 9))
        convert \
+               -auto-orient \
                -size 128x128 \
                xc:"rgb($a,$a,$a)" \
                -fill "rgb($b,$b,$b)" \
index e297cf4813758d42b2fc29b2da19533114435481..8d32049e233e81819dfae2d67fb08c39e47fe6b1 100644 (file)
@@ -14,6 +14,6 @@ for X in */*_norm.tga; do
        echo "change 1"
        ../../../../misc/tools/fft-normalmap-to-heightmap-soft.sh "$X" "$X" none 0.017 0
        echo "."
-       convert "$X" -alpha extract "out/`echo "$X" | tr / -`"
+       convert "$X" -auto-orient -alpha extract "out/`echo "$X" | tr / -`"
 done
 echo "wq"
index 11cc2d6e4c4dcca93df6426d730b8eefe6874acf..01bcbf291cd96e8d51e817e9286894845342ec53 100644 (file)
@@ -8,6 +8,6 @@ for X in */*_norm.tga; do
        echo "change 1"
        ../../../../misc/tools/fft-normalmap-to-heightmap-soft.sh "$X" "$X" none 0.149 0
        echo "."
-       convert "$X" -alpha extract "out/`echo "$X" | tr / -`"
+       convert "$X" -auto-orient -alpha extract "out/`echo "$X" | tr / -`"
 done
 echo "wq"
index d7a31c7a4cd89ceb37f49b7ca50ae17686055141..9b423e925628139ebb4cafc22abbd95983c2166d 100644 (file)
@@ -8,6 +8,6 @@ for X in */*_norm.tga; do
        echo "change 1"
        ../../../../misc/tools/fft-normalmap-to-heightmap-soft.sh "$X" "$X" none 0.149 0
        echo "."
-       convert "$X" -alpha extract "out/`echo "$X" | tr / -`"
+       convert "$X" -auto-orient -alpha extract "out/`echo "$X" | tr / -`"
 done
 echo "wq"