Allow separate parameters for gamma encoding and decoding (#1439)

This commit is contained in:
Daiz
2018-11-11 11:15:38 +02:00
committed by Lovell Fuller
parent 1fa388370e
commit a48f8fbb61
8 changed files with 41 additions and 5 deletions

View File

@@ -136,6 +136,7 @@ const Sharp = function (input, options) {
thresholdGrayscale: true,
trimThreshold: 0,
gamma: 0,
gammaOut: 0,
greyscale: false,
normalise: 0,
booleanBufferIn: null,