From b124ee496c0571b244f9e5b7e0f3c31dd78ee011 Mon Sep 17 00:00:00 2001 From: Robert Borzutzki Date: Tue, 18 Oct 2022 21:45:23 +0200 Subject: [PATCH] change --- examples/epd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/epd.py b/examples/epd.py index 8a6c7e1..679a828 100644 --- a/examples/epd.py +++ b/examples/epd.py @@ -33,7 +33,7 @@ try: 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 - newimage = Image.open(os.path.join(picdir, 'elektrizitat.png')) + newimage = Image.open(os.path.join(picdir, 'elektrizitat.bmp')) blackimage1.paste(newimage, (10,10)) epd.display(epd.getbuffer(blackimage1), epd.getbuffer(redimage1))