Skip to content

Commit 3a934ad

Browse files
author
Vincent Pillet
committed
Full screen
1 parent 4949f51 commit 3a934ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

signs/sign.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def photo(self, data):
3131
logging.info ("***draw image")
3232
Himage2 = Image.new('RGB', (self.disp.width, self.disp.height), 0) # 0: clear the frame
3333
png = Image.open(data)
34-
Himage2.paste(png.resize((self.disp.width-20, self.disp.height-20)), (10,10))
34+
Himage2.paste(png.resize((self.disp.width, self.disp.height)), (0,0))
3535
Himage2=Himage2.rotate(0)
3636
self.disp.ShowImage(self.disp.getbuffer(Himage2))
3737
except IOError as e:

0 commit comments

Comments
 (0)