Add centre/center option to tile-based output (#2397)

This commit is contained in:
beig
2020-10-08 10:51:54 +02:00
committed by GitHub
parent 9704ca4c18
commit c213e9878d
7 changed files with 58 additions and 0 deletions

View File

@@ -238,6 +238,7 @@ const Sharp = function (input, options) {
tileAngle: 0,
tileSkipBlanks: -1,
tileBackground: [255, 255, 255, 255],
tileCentre: false,
linearA: 1,
linearB: 0,
// Function to notify of libvips warnings