another shot for improved image display

This commit is contained in:
mrbwburns
2023-11-20 17:29:46 +01:00
parent 5b16fff0bd
commit 485228e35d
2 changed files with 5 additions and 5 deletions

View File

@@ -75,7 +75,7 @@ def get_scraped_weatherforecast_image() -> Image:
im = im.crop((0, 50, my_width, my_height))
#im = im.resize((800, 480), Image.Resampling.LANCZOS)
#im = im.rotate(90, Image.NEAREST, expand = 1)
im = ImageEnhance.Contrast(im).enhance(1.3)
#im = ImageEnhance.Contrast(im).enhance(1.3)
im.save(image_filename)
return im, im