1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00

Don't use lossless

This commit is contained in:
sam365724 2022-11-20 20:51:45 +01:00 committed by GitHub
parent e2025d3556
commit e6964bbbec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -161,7 +161,7 @@ export class ImageRendererFactory {
fit: 'cover', 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);
}; };
} }
} }