Docs: changelog and credit for #4157

This commit is contained in:
Lovell Fuller 2024-07-18 18:29:38 +01:00
parent d642108be2
commit 10c6f474d9
4 changed files with 9 additions and 2 deletions

View File

@ -42,7 +42,7 @@ A `Promise` is returned when `callback` is not provided.
- `xmp`: Buffer containing raw XMP data, if present
- `tifftagPhotoshop`: Buffer containing raw TIFFTAG_PHOTOSHOP data, if present
- `formatMagick`: String containing format for images loaded via *magick
- `comments`: Array of keyword/text pairs representing PNG text blocks, if present.
- `comments`: Array of keyword/text pairs representing PNG text blocks, if present.

View File

@ -20,6 +20,10 @@ Requires libvips v8.15.2
[#4147](https://github.com/lovell/sharp/pull/4147)
[@ton11797](https://github.com/ton11797)
* Expose PNG text chunks as `comments` metadata.
[#4157](https://github.com/lovell/sharp/pull/4157)
[@nkeynes](https://github.com/nkeynes)
### v0.33.4 - 16th May 2024
* Remove experimental status from `pipelineColourspace`.

View File

@ -299,3 +299,6 @@ GitHub: https://github.com/project0
Name: Pongsatorn Manusopit
GitHub: https://github.com/ton11797
Name: Nathan Keynes
GitHub: https://github.com/nkeynes

View File

@ -450,7 +450,7 @@ function _isStreamInput () {
* - `xmp`: Buffer containing raw XMP data, if present
* - `tifftagPhotoshop`: Buffer containing raw TIFFTAG_PHOTOSHOP data, if present
* - `formatMagick`: String containing format for images loaded via *magick
* - `comments` Array of keyword/text pairs representing PNG text blocks, if present.
* - `comments`: Array of keyword/text pairs representing PNG text blocks, if present.
*
* @example
* const metadata = await sharp(input).metadata();