This commit is contained in:
2025-11-21 22:43:31 +01:00
72 changed files with 1544 additions and 546 deletions

7
inkycal/modules/inky_image.py Executable file → Normal file
View File

@@ -169,6 +169,13 @@ class Inkyimage:
logger.error("no height of width specified")
return
current_width, current_height = self.image.size
# Skip if dimensions are the same
if width == current_width and height == current_height:
logger.info(f"Image already correct size ({width}x{height}), skipping resize")
return
image = self.image
if width: