Function: decodeGainMap()
decodeGainMap(
encodingResult,options?):HdrifyImage
Decode SDR + gain map (from an EncodingResult) into linear HDR HdrifyImage. Does not involve JPEG; use for round-trip tests and when you already have in-memory SDR and gain map buffers.