kCIImageRepresentationHDRGainMapImage

Static kCIImageRepresentationHDRGainMapImage 

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

An optional key and value to save a gain map channel to a JPEG or HEIF.

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

If the kCIImageRepresentationHDRGainMapAsRGB option it true, then it needs to be an RGB CIImage instance.

The /CIImage/properties should contain metadata information equivalent to what is returned when initializing an image using kCIImageAuxiliaryHDRGainMap.

See also Apple’s documentation