During my investigation I found that HDR Gain Map is not used to display images in the Photos app.
There is a special EXIF tag to display images in HDR.
Look at my automator script to change its value and make non-iPhone images bright:
https://github.com/anteo/edit-hdr-gamma
Topic:
Programming Languages
SubTopic:
Swift
Tags: