immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
53.05k stars 2.81k forks source link

AVIF images higher than 8-bit display incorrectly on iOS #10531

Open jaisinghdhaliwal opened 5 months ago

jaisinghdhaliwal commented 5 months ago

The bug

iOS app does not display 10-bit or higher images correctly (Lightroom only supports AVIF export at 10-bit). It displays fine on web even when loading original image. You can see the comparisons of the 8-bit AVIF and the 10-bit AVIF below.

IMG_3231 IMG_3230

The OS that Immich Server is running on

Linux Mint

Version of Immich Server

1.106.2

Version of Immich Mobile App

1.106.3 build.160

Platform with the issue

Your docker-compose.yml content

N/A

Your .env content

N/A

Reproduction steps

1. Upload 10-bit AVIF image using iOS app or web. 
2. View image on iOS app

Relevant log output

No response

Additional information

No response

jaisinghdhaliwal commented 5 months ago

That was an accident… time to try again. Here are some more examples: IMG_3351 IMG_3350

jaisinghdhaliwal commented 3 months ago

Just giving this a bump, the new update that fixed loading original image seems to have fixed this however when pressing the share button, it still looks broken. Seems to happen when it converts the image to JPEG, saving to camera roll and sharing from stock app seems to work fine however.