sharp
sharp copied to clipboard
UHDR image support
This PR adds UHDR image support, leveraging the newly introduced UHDR functionality in libvips (see libvips/libvips#3799). Closed #4314.
New Public Functions
uhdr
uhdr([options]) ⇒
Sharp
Use these UHDR options for output image.
| Param | Type | Default | Description |
|---|---|---|---|
| [options] | Object |
output options | |
| [options.quality] | number |
80 |
quality, integer 1-100 |
keepGainmap
keepGainmap() ⇒
Sharp
Keep Gainmap for uhdr image from the input image in the output image. This is the defualt behaviour for uhdr input.
noGainmap
noGainmap() ⇒
Sharp
Remove gainmap from the input image in the output image.