mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Ensure withMetadata skips default profile for RGB16 #3773
This commit is contained in:
@@ -109,8 +109,8 @@ await sharp(pixelArray, { raw: { width, height, channels } })
|
||||
|
||||
## withMetadata
|
||||
Include all metadata (EXIF, XMP, IPTC) from the input image in the output image.
|
||||
This will also convert to and add a web-friendly sRGB ICC profile unless a custom
|
||||
output profile is provided.
|
||||
This will also convert to and add a web-friendly sRGB ICC profile if appropriate,
|
||||
unless a custom output profile is provided.
|
||||
|
||||
The default behaviour, when `withMetadata` is not used, is to convert to the device-independent
|
||||
sRGB colour space and strip all metadata, including the removal of any ICC profile.
|
||||
|
||||
@@ -4,6 +4,11 @@
|
||||
|
||||
Requires libvips v8.14.4
|
||||
|
||||
### v0.32.6 - TBD
|
||||
|
||||
* Ensure `withMetadata` does not add default sRGB profile to RGB16 (regression in 0.32.5).
|
||||
[#3773](https://github.com/lovell/sharp/issues/3773)
|
||||
|
||||
### v0.32.5 - 15th August 2023
|
||||
|
||||
* Upgrade to libvips v8.14.4 for upstream bug fixes.
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user