addendum to last commit

pull/64/head
Aevann1 2022-12-13 20:13:25 +02:00
parent dcc087f6fd
commit c9bfd1ca33
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 = ["convert", filename, "-coalesce", "-quality", "88"]
params = ["/usr/bin/convert", filename, "-coalesce", "-quality", "88"]
if trim and len(list(Iterator(i))) == 1:
params.append("-trim")
if resize and i.width > resize: