frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: An .icc Profile That Combines P3 and Adobe RGB into a Single Gamut

2•Nrbelex•1h ago
Since most photo-centric services like Flickr still accept and display only JPEGs, and JPEG is only 8 bits, photographers are forced to make some hard decisions about the color profile to embed when displaying photos that contain very rich colors that fall outside of sRGB. Display P3 and Adobe RGB each solve the problem only partially. I created a new color profile that includes the union of the two, creating the best of both worlds and ensuring that virtually every display can be used to its fullest.

Color management is a largely solved problem, so I've historically used ProPhoto RGB, but this has the real downside of introducing banding due to the stretching of such a wide color palette across so few steps (256 per channel). It's so wide that many of those few steps (a) can't be rendered on modern monitors, and (b) are not even visible to humans (i.e., are imaginary). Colors represented by those steps are wasted.

Adobe RGB expands upon sRGB primarily in the cyan-green direction but leaves out vibrant reds and yellows. Lots of displays cover 100% of aRGB (but less of P3).

Display P3 expands upon sRGB primarily in the red and yellow direction but leaves out vibrant cyans and greens. Lots of displays, most notably modern smartphones, cover 100% of P3 (but less of aRGB).

Both of them help minimize wasted bits, but neither of them covers all sets of realistic vibrant colors. I worked with Gemini and Copilot to create a color profile for the minimal triangle that covers the farthest reaches of both color spaces.

Specifically, I asked Gemini to do the complex math to establish the correct x,y primaries to ensure the full convex hulls of both gamuts is within the new gamut while keeping it as small as possible. In theory, this profile covers all of the colors that modern monitors can realistically be expected to display without clipping, while simultaneously minimizing wasted bits and thereby minimizing banding. It uses version 2.1, sets the white point at D65, and borrows the gamma curve from sRGB. Gemini created Python script to generate the .icc profile itself. Copilot was also used to review, critique, refine, and ultimately validate the approach. Per the LLMs, this union profile expands beyond SRGB by 52.8%, beyond P3 by 12.7%, and beyond aRGB by 13.3%. It is 38.2% smaller than ProPhoto RGB.

The CIE xy coordinates are:

Red: x:0.6800, y:0.3200 (the same as P3) Green: x:0.2125, y: 0.7368 (custom) Blue: x:0.1500, y:0.0600 (the same as P3)

It's available for you to try here: https://drive.google.com/file/d/1A74csM5S_fh1-xqbV2q7AMKn3e1...

A graphic showing ProPhoto RGB is here: https://drive.google.com/file/d/1MhIg8cBLCVQRqMUHNHJjbAGU9Ud... Nrbelex-P3-aRGB-Union is here: https://drive.google.com/file/d/1rOjgIOziEx7xkO7dFkMJdowS5Ty... And sRGB is here: https://drive.google.com/file/d/1YmZmSrCnXVrdtDPK6rzjT4NeFqP...

A real photo using the profile is available here: https://flic.kr/p/2rPmvnk

I'm interested in hearing whether this profile works well for others and the conceptual risks and pitfalls of this approach (putting aside general color management concerns, which will always arise when using something other than sRGB). Thanks!

Simvastatin-induced skeletal muscle weakness associated with mutation

https://www.jci.org/articles/view/194490
1•bookofjoe•1m ago•0 comments

Elastic style faceted search from PostgreSQL

https://www.paradedb.com/blog/faceting
1•jamesgresql•2m ago•0 comments

Versant: Decoding the OpenVerse (2022) [pdf]

https://www.opentext.com/assets/documents/en-US/pdf/opentext-ceo-book-versant-decoding-the-openve...
1•twoodfin•2m ago•0 comments

Show HN: LáR – An open-source, deterministic "Glass Box" agent framework

https://github.com/snath-ai/lar
1•axdithya•4m ago•1 comments

The Delete Act

https://privacy.ca.gov/drop/about-drop-and-the-delete-act/
3•weaksauce•6m ago•1 comments

Your Life Can Be Better, and You Can Fix It Right Now

https://perpetual-rewiring.mataroa.blog/blog/your-life-can-be-better/
1•asterakan•6m ago•0 comments

Antivirus Software

https://en.wikipedia.org/wiki/Antivirus_software
1•npmcoders•7m ago•0 comments

2025: Year in Review

https://onebadbit.com/posts/2025/12/year-in-review/
1•wilkystyle•8m ago•0 comments

Why many embodied AI systems fail under load (architecture, not learning)

https://osf.io/ugck7/overview
1•tysonjeffreys•8m ago•1 comments

Remote Client for Life360

https://github.com/Dynosol/life360-remote
1•dynosol•10m ago•0 comments

How to become a VP at a billion-dollar company

https://markgreville.ie/2025/04/13/how-to-become-a-vp-at-a-billion-dollar-company-guaranteed-succ...
1•gHeadphone•11m ago•0 comments

Personal Autonomy and the Loss of Freedom

https://coleroberts.dev/posts/personal_autonomy
1•airhangerf15•12m ago•0 comments

2025: The Year in LLMs

https://simonwillison.net/2025/Dec/31/the-year-in-llms/
1•simonw•13m ago•0 comments

China builds a record-breaking hypergravity machine to compress space and time

https://www.scmp.com/news/china/science/article/3338193/china-builds-record-breaking-hypergravity...
1•ulrischa•14m ago•0 comments

Spokester1: Realtime Neural Game Graphics

https://theadamcolton.github.io/spokester1-neural-game-graphics
1•topwalktown•15m ago•0 comments

Show HN: Chaos Chess – 960 Bullet built in 37 days with Google Antigravity

https://chaoschess.bigbrainbusiness.de/
1•luniprise•22m ago•0 comments

Show HN: Moozix – AI for Musicians

https://moozix.com/
1•jbswift85•30m ago•0 comments

Tech billionaires threaten to exit California over proposed wealth tax

https://www.ktvu.com/news/tech-billionaires-threaten-exit-california-over-wealth-tax
1•xqcgrek2•30m ago•2 comments

My Image Rotator

1•cachepoint•31m ago•0 comments

The next step towards self-updating docs

https://www.mintlify.com/blog/autopilot
1•Princedev41•34m ago•0 comments

If North Korean Cybercrime Was a Startup, How Much Would It Be Worth?

https://lockeidentity.com/blog/if-north-korean-cybercrime-was-a-startup-how-much-would-it-be-worth/
1•connorpeters•37m ago•0 comments

Sako – an open-source, Wallabag-compatible read-it-later service written in Go

https://git.sr.ht/~sbinet/sako
2•Curiositry•38m ago•0 comments

Axion One OS

2•yigrem•39m ago•0 comments

Meta's multibillion Manus buyout draws plaudits, but raises a China AI exodus

https://finance.yahoo.com/news/metas-multibillion-manus-buyout-draws-093000139.html
1•janandonly•41m ago•0 comments

Google Skills

https://www.skills.google/
5•simonpure•46m ago•1 comments

I Vibe-Coded a Family Planner for £0. A deep dive into my LLM experiment

https://michael-dugmore.pages.dev/p/family-planner-vibe-coding-rules-and-weekdoc/
2•heffstaDug•49m ago•0 comments

Show HN: YouTube Auto Like – Auto-like videos from whitelisted channels

https://github.com/fastfingertips/youtube-auto-liker
1•fastfingertips•55m ago•0 comments

Interesting Categories Are Big

https://www.johndcook.com/blog/2025/12/28/interesting-categories-are-big/
1•ibobev•56m ago•0 comments

The culture war that we won

https://lemire.me/blog/2025/12/31/the-culture-war-that-we-won/
2•ibobev•58m ago•1 comments

Setting a wallpaper with less than 250 Kb

https://www.lgfae.com/posts/2025-11-21-SettingAWallpaperWithLessThan250KB.html
1•PaulHoule•1h ago•0 comments