tarina

git clone https://git.tarina.org/tarina
Log | Files | Refs | README | LICENSE

commit dde51d3ae14dac3181acd0b24fbc60f5a1057d01
parent 0308585117d8ccecb16f0bb90272a3f128f2e4b2
Author: rob <rob@tarina.org>
Date:   Thu, 29 Jun 2023 23:55:16 +0100

basic picture mode

Diffstat:
Mtarina.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tarina.py b/tarina.py @@ -739,8 +739,7 @@ def main(): picture = foldername +'picture' + str(take).zfill(3) + '.jpeg' print('taking picture') camera.capture(picture,format="jpeg",use_video_port=True) - run_command('touch ' + foldername + 'take.mp4' + str(take).zfill(3)) - take=take+1 + run_command('touch ' + foldername + 'take' + str(take).zfill(3) + '.mp4') basewidth = 800 img = Image.open(picture) wpercent = (basewidth/float(img.size[0])) @@ -748,6 +747,7 @@ def main(): img = img.resize((basewidth,hsize), Image.ANTIALIAS) img.save(foldername+'take'+str(take).zfill(3) + '.jpeg') vumetermessage('Great Pic taken!!') + updatethumb = True elif beepcountdown > 0 and beeping == True: beeping = False beepcountdown = 0