Expose libjpeg optimize_coding flag (#1265)

This commit is contained in:
Tom Lokhorst
2018-06-21 19:12:10 +02:00
committed by Lovell Fuller
parent 873aa6700f
commit 76c41eaf05
5 changed files with 43 additions and 3 deletions

View File

@@ -192,6 +192,7 @@ const Sharp = function (input, options) {
jpegTrellisQuantisation: false,
jpegOvershootDeringing: false,
jpegOptimiseScans: false,
jpegOptimiseCoding: true,
pngProgressive: false,
pngCompressionLevel: 9,
pngAdaptiveFiltering: false,