diff --git a/effects/Vintage.sh b/effects/Vintage.sh index 4b90c8f..0017b70 100755 --- a/effects/Vintage.sh +++ b/effects/Vintage.sh @@ -1,3 +1,4 @@ #!/bin/bash -convert -set colorspace RGB ../cam.jpg -channel R -level 33% \( -clone 0 -fill '#a159d3' -colorize 30% \) \( -clone 0 -colorspace gray -negate \) -compose blend -define compose:args=100,0 -composite ../DCIM/$(x="$(ls -v /home/pi/DCIM/| tail -n 1 | sed 's/.jpg//g')"; echo $x+1 | bc).jpg +convert -set colorspace RGB ../cam.jpg -channel R -level 33% \( -clone 0 -fill '#a159d3' -colorize 30% \) \( -clone 0 -colorspace gray -negate \) -compose blend -define compose:args=100,0 -composite ../DCIM/$(x="$(ls -v /home/pi/DCIM/| tail -n 1 | sed 's/.jpg//g')"; echo $x | awk '{printf $1 + 1}').jpg +