mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-09 03:04:54 -04:00
fix: min-original not saved (#1716)
This commit is contained in:
parent
9ecef4c25f
commit
a59d1ae2f9
@ -65,9 +65,6 @@ class PillowMinifier(ABCMinifier):
|
||||
Converts an image to the webp format in-place. The original image is not
|
||||
removed By default, the quality is set to 100.
|
||||
"""
|
||||
if image_file.suffix == WEBP:
|
||||
return image_file
|
||||
|
||||
img = Image.open(image_file)
|
||||
|
||||
dest = dest or image_file.with_suffix(WEBP)
|
||||
|
Loading…
x
Reference in New Issue
Block a user