Expose IPTC and XMP metadata when available (#1079)

This commit is contained in:
Oleg Aleynik
2018-01-11 00:12:11 +02:00
committed by Lovell Fuller
parent 8afcb16d8e
commit c4df115948
7 changed files with 57 additions and 2 deletions

View File

@@ -182,6 +182,8 @@ function clone () {
* - `orientation`: Number value of the EXIF Orientation header, if present
* - `exif`: Buffer containing raw EXIF data, if present
* - `icc`: Buffer containing raw [ICC](https://www.npmjs.com/package/icc) profile data, if present
* - `iptc`: Buffer containing raw IPTC data, if present
* - `xmp`: Buffer containing raw XMP data, if present
*
* @example
* const image = sharp(inputJpg);