summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian <florianraemisch@web.de>2011-12-15 00:59:00 +0100
committerChristian Franke <nobody@nowhere.ws>2012-01-12 11:59:28 +0100
commitc63516a553397f550cefa85784387085c527ec24 (patch)
treea951e18d49260018c52907ce2c386de04bc35700
parenta0f1fb65be5b45b51156d8fcbaaeadea2fd47356 (diff)
contrast stretch added for tempgraphthumb
-rwxr-xr-xscripts/temperaturescript.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/temperaturescript.sh b/scripts/temperaturescript.sh
index 49f24a1..df13b38 100755
--- a/scripts/temperaturescript.sh
+++ b/scripts/temperaturescript.sh
@@ -9,7 +9,7 @@ wget ${URL} -O ${WEBPATH}/public/img/buffer.tempgraph.png &> /dev/null || exit 1
cp ${WEBPATH}/public/img/buffer.tempgraph.png ${WEBPATH}/public/img/buffer.thumb.tempgraph.png
-mogrify -crop 800x400+70+41 -resize 200x50 -contrast ${WEBPATH}/public/img/buffer.thumb.tempgraph.png
+mogrify -crop 800x400+70+41 -contrast-stretch 0 -resize 200x50 -contrast-stretch 0 ${WEBPATH}/public/img/buffer.thumb.tempgraph.png
mv -f ${WEBPATH}/public/img/buffer.tempgraph.png ${WEBPATH}/public/img/tempgraph.png &> /dev/null