1

I've create a script to take pictures periodically using my Raspberry Pi Zero W and a camera module. The script works, but I find the exposure lacking. In sunlight, the pictures are washed out or completely green.

#!/bin/bash
COUNTER=$[$(cat /home/dacracot/pix/sequence) + 1]
SEQ=$(printf "%04d" $COUNTER)
echo $COUNTER > /home/dacracot/pix/sequence
raspistill -rot 90 -o /home/dacracot/pix/shots/shot-$SEQ.gif --encoding gif --nopreview --exposure sports --timeout 1

Is there a command line switch to handle extreme lighting situations beyond the --exposure?

dacracot
  • 22,002
  • 26
  • 104
  • 152
  • How about sharing the image so we can try analysing it? Have you tried getting `raspistill` to give you the raw image so it can be processed better? `GIF` is not a very good choice of format for photos, btw. – Mark Setchell Apr 08 '17 at 21:37
  • @MarkSetchell Why is GIF a bad choice? – dacracot Apr 08 '17 at 21:39
  • It can only store 256 colours vs JPEG's 16million, and it compresses poorly unless storing large areas of solid colour such as computer-generated graphics. On an empirical level, I don't believe there is a single camera on the market that defaults to storing photos in GIF - nearly all use JPEG, RAW or DNG. – Mark Setchell Apr 08 '17 at 21:43

0 Answers0