From 45f87ca66a1f5f1055aadf6095918a1859c3e690 Mon Sep 17 00:00:00 2001 From: Mike Powell Date: Thu, 9 Aug 2018 08:58:31 +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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 +