Android 14 adds support for Ultra HDR, a new type of JPEG file (JPEG_R) that can include a gainmap in its metadata so that the HDR version of an image can be rendered on HDR displays and the SDR version on SDR displays.

Separately, Android 14 also adds APIs that lets 3P apps like Chrome support HDR images. Chrome now not only supports these kind of relative HDR containers (like Google's Ultra HDR or Apple's EDR) but also absolute HDR containers (like 10-bit AVIF).

The result is stunning!

Thanks to Dylan Raga for his help in editing these images so you can see what it looks like on SDR displays.

Here are the websites that had those photos: https://gregbenzphotography.com/hdr/

https://ccameron-chromium.github.io/hdr-jpeg/

Here's the commit adding HDR image support in Chrome on Android 14: https://source.chromium.org/chromium/chromium/src/+/127fc8e18e96578c510e6269f013d9f4e28f8ab5

The issue tracker report: https://bugs.chromium.org/p/chromium/issues/detail?id=1430768

Create and edit true HDR (High Dynamic Range) images - Greg Benz Photography

SALE: save $160 off the ASUS PA32UCXR 32" 4K HDR monitor, which is a stunning 1600 nits HDR monitor with 2304 local dimming zones (4x the Pro Display XDR), automated calibration, and single cable charging/pass-through. See my full review or full list of other recommended HDR monitors. Note: "HDR" on this page refers to new display hardware which enables truly higher

Greg Benz Photography - Luminosity Masking, HDR, Photoshop Tutorials, and cityscape and landscape photography

The APIs that were added in Android 14 that make this possible include android.view.Display#getHdrSdrRatio, android.view.Display#registerHdrSdrRatioChangedListener, and android.view.SurfaceControlTransaction#setExtendedRangeBrightness(...)

Lastly, I should note that you'll need a device that supports SDR dimming on Android 14 for this to work. That currently includes the Pixel 7 and newer.

This article explains what SDR dimming is: https://esper.io/blog/android-sdr-dimming

How SDR dimming will help Android blend an SDR UI with HDR video