diff --git a/effects/Vignette-1.sh b/effects/Vignette-1.sh index b199215..8cb4b0e 100755 --- a/effects/Vignette-1.sh +++ b/effects/Vignette-1.sh @@ -1,2 +1,3 @@ #!/bin/bash -composite -gravity center -resize 3908x2602 grad_vignette_1.png /home/pi/cam.jpg /home/pi/DCIM/$(x="$(ls -v /home/pi/DCIM/| tail -n 1 | sed 's/.jpg//g')"; echo $x+1 | bc).jpg +composite -gravity center -resize 3908x2602 grad_vignette_1.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 +