summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian <florianraemisch@web.de>2011-04-06 19:15:17 +0200
committerFlorian <florianraemisch@web.de>2011-04-06 19:15:17 +0200
commit16d5bc79871e9c7ad3d495b3d3fab4edf2eebf51 (patch)
treeec81ce8c37cd7200965cf0266d08d05da438449e
parent1ec88d0d6dbe9a75c990611ec2c5ba597d4646ac (diff)
contrast stretch in webcamscript
-rw-r--r--scripts/webcamscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/webcamscript b/scripts/webcamscript
index 9b61eb3..2e56b6f 100644
--- a/scripts/webcamscript
+++ b/scripts/webcamscript
@@ -11,9 +11,9 @@ cp ${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg ${WEBPATH}/public/img/buffer.
mogrify -resize 200x150 ${WEBPATH}/public/img/buffer.thumb.${NAME}.webcam.jpg
if [ x"${TIMESTAMP}" == x"yes" ]; then
if [ $TIME -lt 6 ] || [ $TIME -ge 18 ]; then
- mogrify -fill white -gravity SouthEast -draw "text 10,10 '${TODAY}'" ${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg
+ mogrify -contrast-stretch 0 -fill white -gravity SouthEast -draw "text 10,10 '${TODAY}'" ${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg
else
- mogrify -fill black -gravity SouthEast -draw "text 10,10 '${TODAY}'" ${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg
+ mogrify -contrast-stretch 0 -fill black -gravity SouthEast -draw "text 10,10 '${TODAY}'" ${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg
fi
fi