Add withoutReduction option to resize operation (#3006)

This commit is contained in:
Chris Banks
2021-12-12 14:10:56 -05:00
committed by GitHub
parent 3b492ea423
commit 446e4e3c3a
7 changed files with 173 additions and 1 deletions

View File

@@ -166,6 +166,7 @@ const Sharp = function (input, options) {
extendRight: 0,
extendBackground: [0, 0, 0, 255],
withoutEnlargement: false,
withoutReduction: false,
affineMatrix: [],
affineBackground: [0, 0, 0, 255],
affineIdx: 0,