pimo-scripts/effects/Vignette-2.sh
2018-08-09 08:58:01 +02:00

2 lines
204 B
Bash
Executable file

#!/bin/bash
composite -gravity center -resize 3908x2602 grad_vignette_2.png /home/pi/cam.jpg /home/pi/DCIM/$(x="$(ls -v /home/pi/DCIM/| tail -n 1 | sed 's/.jpg//g')"; echo $x | awk '{printf $1 + 1}').jpg