applyingGainMap(_:)
Create an image that applies a gain map Core Image image to the received Core Image image.
Declaration
func applyingGainMap(_ gainmap: CIImage) -> CIImageReturn Value
An autoreleased CIImage instance or the received image.
Discussion
The gain map image can be obtained by creating a CIImage instance from NSURL/NSData and setting the auxiliaryHDRGainMap option set to @YES.
If the gain map CIImage instance doesn’t have the needed properties metadata, the received image will be returned as-is.