i edited my script to be a oneliner here it is
convert "$(ls -t /srv/ftp/webcam/*.jpg | head -1)" -crop 2560x1440+128+0 +repage "/home/logos/template-small.png" -composite -geometry +0+0 -gravity NorthEast -fill white -font DejaVu-Sans -pointsize 35 -annotate +25+16 "$(date +"%d.%m.%y - %H:%M Uhr ...
Search found 4 matches
- 2016-11-13T07:26:30-07:00
- Forum: Users
- Topic: corrupted output
- Replies: 8
- Views: 10011
- 2016-11-13T02:10:11-07:00
- Forum: Users
- Topic: corrupted output
- Replies: 8
- Views: 10011
Re: corrupted output
this is my new script
#!/bin/bash
cd /srv/ftp/webcam
convert "$(ls -t *.jpg | head -1)" -crop 2560x1440+128+0 +repage /home/timelapse/webcam.png
composite -geometry +0+0 /home/logos/template-small.png /home/timelapse/webcam.png /home/timelapse/webcam1.png
convert /home/timelapse/webcam1.png ...
#!/bin/bash
cd /srv/ftp/webcam
convert "$(ls -t *.jpg | head -1)" -crop 2560x1440+128+0 +repage /home/timelapse/webcam.png
composite -geometry +0+0 /home/logos/template-small.png /home/timelapse/webcam.png /home/timelapse/webcam1.png
convert /home/timelapse/webcam1.png ...
- 2016-11-12T13:25:06-07:00
- Forum: Users
- Topic: corrupted output
- Replies: 8
- Views: 10011
Re: corrupted output
thanks for your answers.
the pi usually took about 8 seconds to complete the script.
i made a transparent canvas with the 3 images + url
and only crop the image, add the canvas and add the date.
now it takes the pi about 3 seconds, much better, thanks for the advice.
i use png for the temporary ...
the pi usually took about 8 seconds to complete the script.
i made a transparent canvas with the 3 images + url
and only crop the image, add the canvas and add the date.
now it takes the pi about 3 seconds, much better, thanks for the advice.
i use png for the temporary ...
- 2016-11-12T08:02:12-07:00
- Forum: Users
- Topic: corrupted output
- Replies: 8
- Views: 10011
corrupted output
I have a webcam and a pi3
im running this script every 30 seconds via crontab
#!/bin/bash
cd /srv/ftp/webcam
convert "$(ls -t *.jpg | head -1)" -crop 2560x1440+128+0 +repage /home/timelapse/webcam.png
convert /home/timelapse/webcam.png -chop 0x70 -background "#000000" -flatten -splice 0x70 ...
im running this script every 30 seconds via crontab
#!/bin/bash
cd /srv/ftp/webcam
convert "$(ls -t *.jpg | head -1)" -crop 2560x1440+128+0 +repage /home/timelapse/webcam.png
convert /home/timelapse/webcam.png -chop 0x70 -background "#000000" -flatten -splice 0x70 ...