summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtakepix.sh14
1 files changed, 13 insertions, 1 deletions
diff --git a/takepix.sh b/takepix.sh
index 3f3759b..db05b9f 100755
--- a/takepix.sh
+++ b/takepix.sh
@@ -6,10 +6,22 @@ picdir="/home/st33v/pix"
picdate=$(date +%Y-%m-%d_%H%M)
thispic=$picdir/$picdate.jpg
artist=$(hostname)
+jpgQuality="90"
# echo thispic = $thispic
-/opt/vc/bin/raspistill -x IFD1.Artist=${artist} -q 70 -md 4: -o $thispic
+case ${artist^^} in
+
+ LUCERNE)
+ /opt/vc/bin/raspistill -vf -hf -x IFD1.Artist=${artist} -q $jpgQuality -md 4: -o $thispic;;
+
+ NEATHERD)
+ /opt/vc/bin/raspistill -x IFD1.Artist=${artist} -q $jpgQuality -md 4: -o $thispic;;
+
+ *)
+ /opt/vc/bin/raspistill -x IFD1.Artist=${artist} -q $jpgQuality -md 4: -o $thispic;;
+
+esac
# Note: we do no image processing on this pi, because it has so little RAM
# left after devoting 128MB to the GPU (camera).