Turns out iPhone photos contain quiet a few things that you can extract and use
this turns a heic still into a multichannel EXR and transforms colors to acesCG.
It also merges in the GainMap to create a proper linear hdr image, the base SDR inage however is also kept as the SDR channel.
Probably useful if you ever get a iPhone still, or just want to mess with it.
Apparently only iOS 18.5 beta stills contain all these mattes? let me know what you find .