Allow xres and yres to be set for TIFF output (#828)

This commit is contained in:
Yves Bos
2017-06-03 17:52:09 +08:00
committed by Lovell Fuller
parent 9f20037dad
commit d8765f955d
5 changed files with 78 additions and 2 deletions

View File

@@ -180,6 +180,8 @@ const Sharp = function (input, options) {
tiffCompression: 'jpeg',
tiffPredictor: 'none',
tiffSquash: false,
tiffXres: 1.0,
tiffYres: 1.0,
tileSize: 256,
tileOverlap: 0,
// Function to notify of libvips warnings