sharp icon indicating copy to clipboard operation
sharp copied to clipboard

UHDR image support

Open ri-char opened this issue 3 months ago • 0 comments

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.

ri-char avatar Nov 29 '25 05:11 ri-char