mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-21 05:53:36 -07:00
fix: min-original not saved (#1716)
This commit is contained in:
parent
9ecef4c25f
commit
a59d1ae2f9
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue