Repository navigation
Releases
hlg2hdr 1.0.1
hlg2hdr 1.0.1
First public release of the HLG to HDR conversion engine: hlg2hdr, a macOS command line tool
that converts HLG / HDR PQ stills (HEIF or JPEG) into Apple adaptive HDR — a 10-bit SDR base
image plus an ISO 21496-1 gain map. Everything runs locally.
Correction: this replaces the earlier 1.0.0 archive
The 1.0.0 archive was withdrawn: its binary embedded 32 local build paths from the machine that built
it. The 1.0.1 binary is built from a clean path with prefix mapping and is stripped; it contains no
local paths and no personal identifiers. The source tree was also cleaned of private sample-file
references and camera-model strings.
Install
unzip hlg2hdr-1.0.1-macos-universal.zip
sudo mv hlg2hdr /usr/local/bin/
hlg2hdr --versionUniversal binary (arm64 + x86_64), macOS 15 or later.
Quick start
hlg2hdr selftest # generate -> convert -> verify
hlg2hdr convert --recursive ~/Pictures/HLG # outputs are written beside the inputsExit codes: 0 all succeeded (skips count as success) · 1 nothing worked · 2 usage error ·
3 partial (some inputs failed). See the README for the full command and option reference.
Verification
SHA-256 of the attached zip (the archive holds hlg2hdr at its root):
6138c363cc25cf3d6bed3ca33609c988824204c2fc7661993c408438f46b46ff hlg2hdr-1.0.1-macos-universal.zip
The binary is signed with a Developer ID, uses the hardened runtime, and was notarised
(status: Accepted). A bare executable cannot carry a stapled ticket — that is normal for command
line tools; Gatekeeper verifies it online on first run. To check the signature yourself:
spctl -a -vv --type execute ./hlg2hdr
codesign --verify --strict --verbose=2 ./hlg2hdrLicense
MIT. The GUI app for macOS and iOS is HLG to HDR:
https://apps.apple.com/app/id6808515100.