[WEB] HEIC HDR Photo from iPhone 14 not displaying as HDR #7987

Closed
opened 2026-02-05 13:27:08 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @oceanusxiv on GitHub (Dec 4, 2025).

I have searched the existing issues, both open and closed, to make sure this is not a duplicate report.

  • Yes

The bug

I've searched around the various HDR related issues and I want to clarify that

  1. This is specifically about web, I understand the mobile apps cannot display HDR atm.
  2. This is not about thumbnail previews, I've zoomed in and also toggled prefer original image in settings.
  3. I definitely have an HDR capable screen, and in fact I have photos taken with a Pixel using Ultra HDR that works well with Immich Web.

With that being said, HDR HEIC photos taken by my iPhone 14 cannot display as HDR using Immich Web, the image is provided.

IMG_1142.HEIC.zip

It has the correct gain map info

Image

but nevertheless Immich web cannot display the HDR image properly.

The OS that Immich Server is running on

Raspberry Pi

Version of Immich Server

v2.3.1

Version of Immich Mobile App

v2.3.0

Platform with the issue

  • Server
  • Web
  • Mobile

Device make and model

No response

Your docker-compose.yml content

not relevant

Your .env content

not relevant

Reproduction steps

  1. Upload provided HDR image to Immich
  2. Open Immich web on HDR capable monitor and zoom into the image
  3. Observe difference between proper HDR (such as using macOS Preview) and what Immich web displays

Relevant log output


Additional information

No response

Originally created by @oceanusxiv on GitHub (Dec 4, 2025). ### I have searched the existing issues, both open and closed, to make sure this is not a duplicate report. - [x] Yes ### The bug I've searched around the various HDR related issues and I want to clarify that 1. This is specifically about web, I understand the mobile apps cannot display HDR atm. 2. This is not about thumbnail previews, I've zoomed in and also toggled prefer original image in settings. 3. I definitely have an HDR capable screen, and in fact I have photos taken with a Pixel using Ultra HDR that works well with Immich Web. With that being said, HDR HEIC photos taken by my iPhone 14 cannot display as HDR using Immich Web, the image is provided. [IMG_1142.HEIC.zip](https://github.com/user-attachments/files/23939261/IMG_1142.HEIC.zip) It has the correct gain map info <img width="494" height="208" alt="Image" src="https://github.com/user-attachments/assets/4d817808-40e2-4b44-b018-765917999923" /> but nevertheless Immich web cannot display the HDR image properly. ### The OS that Immich Server is running on Raspberry Pi ### Version of Immich Server v2.3.1 ### Version of Immich Mobile App v2.3.0 ### Platform with the issue - [ ] Server - [x] Web - [ ] Mobile ### Device make and model _No response_ ### Your docker-compose.yml content ```YAML not relevant ``` ### Your .env content ```Shell not relevant ``` ### Reproduction steps 1. Upload provided HDR image to Immich 2. Open Immich web on HDR capable monitor and zoom into the image 3. Observe difference between proper HDR (such as using macOS Preview) and what Immich web displays ### Relevant log output ```shell ``` ### Additional information _No response_
Author
Owner

@oceanusxiv commented on GitHub (Dec 6, 2025):

@bo0tzz I believe this issue is closed in error? This is not a duplicate of #18636. That issue specifically states that

This issue does not occur when uploading HDR HEIC images created from an iPhone camera, so it might have to do with differences in the pictures' metadata. The HEIC images taken with my iPhone are also in 8-bit with 3 channels while the exported HEIC images from Photomator are in 10-bit with 4 channels (RGBA maybe?).

While this issue is specifically about HDR photos taken from the iPhone camera. In specific, these images absolutely have a gain map, they are not pure HDR images like in that issue, so this issue is about Immich web seemingly failing to display gain map based HDR images properly.

@oceanusxiv commented on GitHub (Dec 6, 2025): @bo0tzz I believe this issue is closed in error? This is not a duplicate of #18636. That issue specifically states that > This issue does not occur when uploading HDR HEIC images created from an iPhone camera, so it might have to do with differences in the pictures' metadata. The HEIC images taken with my iPhone are also in 8-bit with 3 channels while the exported HEIC images from Photomator are in 10-bit with 4 channels (RGBA maybe?). While this issue is specifically about HDR photos taken from the iPhone camera. In specific, these images absolutely have a gain map, they are not pure HDR images like in that issue, so this issue is about Immich web seemingly failing to display gain map based HDR images properly.
Author
Owner

@Starbix commented on GitHub (Jan 3, 2026):

Yes, not a duplicate. The next sharp version will have support for gainmaps based on libultrahdr (via libvips). However libultrahdr does not support HEIF/AVIF gainmap images yet. There's a fork with experimental support for it: https://github.com/ittiam-systems/libultrahdr/commits/experimental/

@Starbix commented on GitHub (Jan 3, 2026): Yes, not a duplicate. The next sharp version will have support for gainmaps based on libultrahdr (via libvips). However libultrahdr does not support HEIF/AVIF gainmap images yet. There's a fork with experimental support for it: https://github.com/ittiam-systems/libultrahdr/commits/experimental/
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: immich-app/immich#7987