kCIImageRepresentationHDRImage

Static kCIImageRepresentationHDRImage 

Source
pub unsafe static kCIImageRepresentationHDRImage: &'static CIImageRepresentationOption
Available on crate feature CIContext only.
Expand description

An optional key and value to save a HDR image using the gain map channel to a JPEG or HEIF.

The value for this key needs to be a HDR CIImage instance.

When provided, Core Image will calculate a gain map auxiliary image from the ratio of the HDR image to the primary SDR image.

If the the HDR CIImage instance has a /CIImage/contentHeadroom property, then that will be used when calculating the HDRGainMap image and metadata.

See also Apple’s documentation