Colors are distorted when opening a HEIF file
GIMP version: 2.10.20-1.2
Operating System: Linux
Package: openSUSE Tumbleweed OSS repository (http://download.opensuse.org/tumbleweed/repo/oss/)
Description of the bug
Colors appear distorted when opening a HEIF (HEIC) file. Specifically, the sky on photos appears darker than when opening the same file in showFoto or digiKam. The sky color appears more natural in showFoto, so I think that its representation is correct. The distortion persists when exporting the file as JPEG. This is my export results for both GIMP and showFoto (JPEG quality 80%, chroma subsampling 4:4:4 for both programs): gimp_save_as showFoto_save_as
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open original.HEIC in GIMP.
Expected result: The sky appears like on the left screenshot.
Actual result: The sky appears like on the right screenshot.
Additional information
In my system, I have gimp-plugin-heif (1.1.0+git20191012.d6bea52-2.12), libheif1 (1.7.0-2.1), and gdk-pixbuf-loader-libheif (1.7.0-2.1) from Packman (http://packman.inode.at/suse/openSUSE_Tumbleweed/). showFoto is version 6.4.0-3.1 from openSUSE Tumbleweed OSS repository.