WIP HDR read/write support