Docs: metadata returns resolutionUnit, if present

This commit is contained in:
Lovell Fuller
2022-01-29 15:24:44 +00:00
parent ec17d7f580
commit 47ae1f52db
3 changed files with 2 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ A `Promise` is returned when `callback` is not provided.
* `subifds`: Number of Sub Image File Directories in an OME-TIFF image
* `background`: Default background colour, if present, for PNG (bKGD) and GIF images, either an RGB Object or a single greyscale value
* `compression`: The encoder used to compress an HEIF file, `av1` (AVIF) or `hevc` (HEIC)
* `resolutionUnit`: The unit of resolution (density), either `inch` or `cm`, if present
* `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