From e6964bbbec6bec22d3f4ec13639a33de38d29cd5 Mon Sep 17 00:00:00 2001 From: sam365724 <111515092+sam365724@users.noreply.github.com> Date: Sun, 20 Nov 2022 20:51:45 +0100 Subject: [PATCH] Don't use lossless --- src/backend/model/threading/PhotoWorker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/model/threading/PhotoWorker.ts b/src/backend/model/threading/PhotoWorker.ts index 08130daf..ebe30863 100644 --- a/src/backend/model/threading/PhotoWorker.ts +++ b/src/backend/model/threading/PhotoWorker.ts @@ -161,7 +161,7 @@ export class ImageRendererFactory { fit: 'cover', }); } - await image.withMetadata().webp({ lossless: true, effort: 6, quality: 65 }).toFile(input.outPath); + await image.withMetadata().webp({effort: 6, quality: 60}).toFile(input.outPath); }; } }