From 83563a3f08c920140e4ff02a379a8fd8edbffb93 Mon Sep 17 00:00:00 2001 From: Jared Dueck Date: Wed, 6 Aug 2025 15:21:00 +0000 Subject: [PATCH] Update logic to add max dimensions to all formats --- mealie/pkgs/img/minify.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/mealie/pkgs/img/minify.py b/mealie/pkgs/img/minify.py index b1764df8d..32d6425f7 100644 --- a/mealie/pkgs/img/minify.py +++ b/mealie/pkgs/img/minify.py @@ -176,7 +176,6 @@ class PillowMinifier(ABCMinifier): with Image.open(image_path) as img: img = ImageOps.exif_transpose(img) if self._opts.original: - # Used as default if not force and org_dest.exists(): self._logger.info(f"{org_dest} already minified") else: @@ -187,8 +186,6 @@ class PillowMinifier(ABCMinifier): success = True if self._opts.miniature: - # Used /g/home in desktop / tablet view - # Used g/home/cookbooks/ desktop view if not force and min_dest.exists(): self._logger.info(f"{min_dest} already minified") else: @@ -201,12 +198,6 @@ class PillowMinifier(ABCMinifier): success = True if self._opts.tiny: - # Used /g/home/ in mobile view - # Used /g/home/recipes/finder all views - # Used /household/mealplan/planner/edit (currently used) - # Used /g/home/recipes/timeline Desktop view only - # Used g/home/cookbooks/cookbook in mobile / tablet - if not force and tiny_dest.exists(): self._logger.info(f"{tiny_dest} already minified") else: