1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-11-28 08:58:49 +02: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',
});
}
await image.withMetadata().webp({ lossless: true, effort: 6, quality: 65 }).toFile(input.outPath);
await image.withMetadata().webp({effort: 6, quality: 60}).toFile(input.outPath);
};
}
}