Expose preset option for WebP output #3639

This commit is contained in:
Lovell Fuller
2023-07-12 19:12:04 +01:00
parent 66f7cef253
commit 85b26dab68
8 changed files with 43 additions and 1 deletions

View File

@@ -291,6 +291,7 @@ const Sharp = function (input, options) {
webpLossless: false,
webpNearLossless: false,
webpSmartSubsample: false,
webpPreset: 'default',
webpEffort: 4,
webpMinSize: false,
webpMixed: false,