Expose WebP alpha quality, lossless and near-lossless output options (#685)

This commit is contained in:
Rahul Nanwani
2017-01-19 19:15:32 +05:30
committed by Lovell Fuller
parent 815d076b35
commit a1b8efe721
9 changed files with 88 additions and 1 deletions

View File

@@ -145,6 +145,9 @@ const Sharp = function (input, options) {
pngCompressionLevel: 6,
pngAdaptiveFiltering: true,
webpQuality: 80,
webpAlphaQuality: 100,
webpLossless: false,
webpNearLossless: false,
tiffQuality: 80,
tileSize: 256,
tileOverlap: 0,