Add skipBlanks support for tile layout (#1687)

This commit is contained in:
RaboliotTheGrey
2019-07-12 13:02:51 +02:00
committed by Lovell Fuller
parent b737d4601e
commit 6c02949fc1
6 changed files with 112 additions and 2 deletions

View File

@@ -311,6 +311,7 @@ Warning: multiple sharp instances concurrently producing tile output can expose
- `tile.overlap` **[Number][8]** tile overlap in pixels, a value between 0 and 8192. (optional, default `0`)
- `tile.angle` **[Number][8]** tile angle of rotation, must be a multiple of 90. (optional, default `0`)
- `tile.depth` **[String][1]?** how deep to make the pyramid, possible values are `onepixel`, `onetile` or `one`, default based on layout.
- `tile.skipBlanks` **[Number][8]** threshold to skip tile generation, a value 0 - 255 for 8-bit images or 0 - 65535 for 16-bit images (optional, default `-1`)
- `tile.container` **[String][1]** tile container, with value `fs` (filesystem) or `zip` (compressed file). (optional, default `'fs'`)
- `tile.layout` **[String][1]** filesystem layout, possible values are `dz`, `zoomify` or `google`. (optional, default `'dz'`)