Fix issue with title opacity
This commit is contained in:
parent
18ab123c3a
commit
c674f97f50
1
main.py
1
main.py
@ -109,6 +109,7 @@ def main():
|
||||
|
||||
try:
|
||||
import epd7in5
|
||||
print("image generated")
|
||||
|
||||
epd = epd7in5.EPD()
|
||||
epd.init()
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user