From ad10b5c5dce6b309f4cc8b775ac91a6aae0f551e Mon Sep 17 00:00:00 2001 From: Mike Powell Date: Thu, 9 Aug 2018 07:58:45 +0200 Subject: [PATCH] =?UTF-8?q?'effects/Vintage.sh'=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- effects/Vintage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/Vintage.sh b/effects/Vintage.sh index 180f752..4b90c8f 100755 --- a/effects/Vintage.sh +++ b/effects/Vintage.sh @@ -1,3 +1,3 @@ #!/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/$(stat DCIM/* --printf "%i\n" | wc -l).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+1 | bc).jpg