Greg B
Greg B
@ProgramMax Thank you for the extra context and info!
The gain map metadata is key to adapting the image to the display. It provides the information necessary to determine how much weight to give the alternate vs base image....
A gain map specifies 2 images. The base is a real image and the alternative is derived by applying per-pixel multiples to the base (which are determined using the gain...
More info on gain maps from an artistic perspective: https://gregbenzphotography.com/hdr-photos/jpg-hdr-gain-maps-in-adobe-camera-raw/
@cmahnke Happy to answer any questions here. I'm not clear what the intended use of this library/feature is. I'd be happy to consider any requests for a few sample images,...
@DichenZhang1 Great, thank you!
https://developer.apple.com/documentation/appkit/images_and_pdf/applying_apple_hdr_effect_to_your_photos
@jonsneyers libultra supports ISO encoding of JPG gain maps (AVIF and HEIF coming too). You need to enabling the feature when compiling: `cmake -DUHDR_WRITE_ISO=1`
If there are function calls which may be used with IM to force preservation of the CICP values, it would be helpful to know as AVIF uploads to WordPress show...
@farindk, any suggestions on an approach to decode / encode with libheif in a way which would preserve NCLX values when processing an AVIF?