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))