This commit is contained in:
Robert Borzutzki 2022-10-18 21:59:33 +02:00
parent b124ee496c
commit 56b13dec35

View File

@ -29,7 +29,9 @@ try:
font20 = ImageFont.truetype(os.path.join(picdir, 'Font.ttc'), 20)
font18 = ImageFont.truetype(os.path.join(picdir, 'Font.ttc'), 18)
drawblack.text((10, 0), 'hello world', font = font20, fill = 0)
drawblack.text((10, 0), 'hier bin ich', font = font20, fill = 0)
logging.info("4.read bmp file on window")
blackimage1 = Image.new('1', (epd.height, epd.width), 255) # 298*126
redimage1 = Image.new('1', (epd.height, epd.width), 255) # 298*126