TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I made an HDR ICC profile for JPG and PNG images

3 pointsby klochalmost 2 years ago
I wanted to be able to share HDR renderings from bsrender in widely supported formats like jpeg and png. There are ICC profiles to do this but they are copyrighted so I made an experimental open source ICC profile using the CC0 copyright:<p>Experimental open source Rec. 2100 PQ profile with annotated source: https:&#x2F;&#x2F;bsrender.io&#x2F;rec2100pq-experimental.zip ICC profile standards document: https:&#x2F;&#x2F;www.color.org&#x2F;specification&#x2F;ICC.1-2022-05.pdf Sample HDR renderings (first few sample renderings): https:&#x2F;&#x2F;bsrender.io<p>The only viewer&#x2F;platform I&#x27;ve been able to confirm it works on is the Chrome browser on M1&#x2F;M2 Macs. It does not work on iPhone or Safari&#x2F;Firefox on Mac.<p>The profile is derived mainly from saucecontrol&#x27;s open source Rec2020Compat-v4.icc profile: https:&#x2F;&#x2F;github.com&#x2F;saucecontrol&#x2F;Compact-ICC-Profiles with &#x27;cicp&#x27; and &#x27;lumi&#x27; tags added. Since it uses the same transfer function as Rec2020, images will appear very washed out&#x2F;fuzzy on unsupported viewers. I found this &quot;bug&quot; very helpful during testing as it was really obvious if the viewer was using the cicp&#x2F;lumi tags or the (incorrect) transfer TRC.<p>With a bit more work you could implement something approximating the PQ transfer function but I actually like the &#x27;you-know-when-it&#x27;s-not-doing-the-thing&#x27; effect.

1 comment

klochalmost 2 years ago
ICC Profile w&#x2F;annotated source: <a href="https:&#x2F;&#x2F;bsrender.io&#x2F;rec2100pq-experimental.zip" rel="nofollow noreferrer">https:&#x2F;&#x2F;bsrender.io&#x2F;rec2100pq-experimental.zip</a><p>Standards document: <a href="https:&#x2F;&#x2F;www.color.org&#x2F;specification&#x2F;ICC.1-2022-05.pdf" rel="nofollow noreferrer">https:&#x2F;&#x2F;www.color.org&#x2F;specification&#x2F;ICC.1-2022-05.pdf</a><p>Sample renderings (first four at top of page): <a href="https:&#x2F;&#x2F;bsrender.io" rel="nofollow noreferrer">https:&#x2F;&#x2F;bsrender.io</a><p>They will only be rendered in HDR on supported viewers&#x2F;platforms, currently only known working is Chrome browser on M1&#x2F;M2 mac. On unsupported viewers the HDR images will appear very washed out&#x2F;fuzzy.