A macOS tool for converting HDR files to Adaptive HDR (Gain Map / ISO HDR)
Include:
Convert any HDR to ISO_HDR.heic by PQHDRtoGMHDR:
./PQHDRtoGMHDR $file_dir $folder_dir
Batch convert all tiff file in a folder by heic_hdr.py:
git clone https://github.com/chemharuka/PQ_HDR_to_Gain_Map_HDR.git
cd PQ_HDR_to_Gain_Map_HDR
chmod 711 ./PQHDRtoGMHDR
python3 ./heic_hdr.py $folder_for_convert
You may need to change DIR of PQHDRtoGMHDR in heic_hdr.py before running. (in line44)
sample 1:
sample 2:
sample 3:
FIXED: It's better to limit PQ HDR range in +2 eV, to avoid losing hightlight details.
FIXED: HDR headroom was limited to +2 eV, might improve in future.
Not support UltraHDR.