Changelog entry for #1595 (plus add GIF)

This commit is contained in:
Lovell Fuller
2019-03-10 17:26:26 +00:00
parent 7cafd4386c
commit 1e4597c284
4 changed files with 22 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ function _createInputDescriptor (input, inputOptions, containerOptions) {
throw new Error('Expected width, height and channels for raw pixel input');
}
}
// Page input for multi-page TIFF
// Page input for multi-page images (GIF, TIFF, PDF)
if (is.defined(inputOptions.page)) {
if (is.integer(inputOptions.page) && is.inRange(inputOptions.page, 0, 100000)) {
inputDescriptor.page = inputOptions.page;