end my misery

master
Aevann1 2022-12-16 19:58:20 +02:00
parent 90f6f0b96e
commit e85eb63fa3
1 changed files with 1 additions and 1 deletions

View File

@ -140,7 +140,7 @@ def process_image(filename:str, v, resize=0, trim=False, uploader_id:Optional[in
try:
with Image.open(filename) as i:
params = ["magick", filename, "-coalesce", "-quality", "88"]
params = ["convert", filename, "-coalesce", "-quality", "88"]
if trim and len(list(Iterator(i))) == 1:
params.append("-trim")
if resize and i.width > resize: