summaryrefslogtreecommitdiff
path: root/scripts/trollette.sh
diff options
context:
space:
mode:
authorFlorian <stayawake@lavabit.com>2013-05-05 18:44:57 +0200
committerFlorian <stayawake@lavabit.com>2013-05-05 18:49:06 +0200
commit9c70760cc97f572bb8c5962b48329cc054d5c225 (patch)
tree616a9b7889920deb1bda89049db7f713a3a0ab23 /scripts/trollette.sh
parent303b65e411ab3f4b0cae7e04b10864eb8936d518 (diff)
fixed contrast stretch bug for trollette
Diffstat (limited to 'scripts/trollette.sh')
-rwxr-xr-xscripts/trollette.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/trollette.sh b/scripts/trollette.sh
index 60cbe4c..7d2d0fa 100755
--- a/scripts/trollette.sh
+++ b/scripts/trollette.sh
@@ -22,7 +22,7 @@ if [ x"${TIMESTAMP}" = x"yes" ]; then
-draw "text 10,10 '${TODAY}'" \
${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg
else
- mogrify -contrast-stretch 0 -adaptive-sharpen 3 \
+ mogrify +noise Gaussian -attenuate 0.4 -adaptive-sharpen 3 \
-fill black -gravity SouthEast \
-draw "text 10,10 '${TODAY}'" \
${WEBPATH}/public/img/buffer.${NAME}.webcam.jpg