mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add raw EXIF data to metadata response
Copy metadata input buffer to match pipeline Prevents possible metadata segfault under load
This commit is contained in:
@@ -343,6 +343,7 @@ Fast access to image metadata without decoding any compressed image data.
|
||||
* `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
|
||||
* `exif`: Buffer containing raw EXIF data, if present
|
||||
|
||||
A Promises/A+ promise is returned when `callback` is not provided.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user