Expose levels metadata for multi-level images #2222

This commit is contained in:
Lovell Fuller
2020-06-04 20:29:02 +01:00
parent f8144dd89c
commit 760550ca0d
5 changed files with 26 additions and 0 deletions

View File

@@ -208,6 +208,7 @@ function _isStreamInput () {
* - `loop`: Number of times to loop an animated image, zero refers to a continuous loop.
* - `delay`: Delay in ms between each page in an animated image, provided as an array of integers.
* - `pagePrimary`: Number of the primary page in a HEIF image
* - `levels`: Details of each level in a multi-level image provided as an array of objects, requires libvips compiled with support for OpenSlide
* - `hasProfile`: Boolean indicating the presence of an embedded ICC profile
* - `hasAlpha`: Boolean indicating the presence of an alpha transparency channel
* - `orientation`: Number value of the EXIF Orientation header, if present