summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFlorian <florianraemisch@web.de>2012-09-18 12:53:52 +0200
committerFlorian <florianraemisch@web.de>2012-09-18 12:53:52 +0200
commit07eab4838654c57de2281d63d3c5f515bedd19e6 (patch)
tree9035b25e511d8de8312aeafa9ea9e7748f14c2a8 /scripts
parent49445b045c45c41d2fb56b4e1cb7605aa7e0c7b0 (diff)
aspect ratio fix for webcam image
Diffstat (limited to 'scripts')
-rw-r--r--scripts/webcamscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/webcamscript b/scripts/webcamscript
index 4e83c9a..d967553 100644
--- a/scripts/webcamscript
+++ b/scripts/webcamscript
@@ -8,7 +8,7 @@ TIME=`date +"%H"`
wget "${URL}" $WGET_ARGS -O ${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg &> /dev/null || exit 1
cp ${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg ${WEBPATH}/public/img/buffer.thumb.${NAME}.webcam.jpg
-mogrify -contrast-stretch 0 -resize 200x150 ${WEBPATH}/public/img/buffer.thumb.${NAME}.webcam.jpg
+mogrify -contrast-stretch 0 -resize 208x117 ${WEBPATH}/public/img/buffer.thumb.${NAME}.webcam.jpg
if [ x"${TIMESTAMP}" == x"yes" ]; then
if [ $TIME -lt 6 ] || [ $TIME -ge 18 ]; then
mogrify -contrast-stretch 0 -adaptive-sharpen 3 -fill white -gravity SouthEast -draw "text 10,10 '${TODAY}'" ${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg