Fix issue with title opacity

This commit is contained in:
nemunaire 2022-08-14 18:33:32 +02:00
parent 18ab123c3a
commit c674f97f50
2 changed files with 2 additions and 1 deletions

View File

@ -109,6 +109,7 @@ def main():
try:
import epd7in5
print("image generated")
epd = epd7in5.EPD()
epd.init()

View File

@ -72,7 +72,7 @@ class WeatherJumboCurrentModule:
self.middle_align = 1/3
def draw_module(self, config, width, height):
image = Image.new('RGBA', (width, height), '#fff0')
image = Image.new('RGB', (width, height), '#fff')
draw = ImageDraw.Draw(image)
fnt_Big = ImageFont.truetype(config.fnt_RB_path, 33)