#!/usr/bin/bash effects=("none" "negative" "solarise" "sketch" "denoise" "emboss" "oilpaint" "hatch" "gpen" "pastel" "watercolour" "film" "blur" "saturation" "colourswap" "washedout" "posterise" "colourpoint" "colourbalance" "cartoon") for fx in ${effects[@]}; do filename="${1}_${fx}.jpg" echo "creating still ${filename}" raspistill -ifx ${fx} -o "${filename}" done