Bug 504264

Summary: Fail to open .heic images on systems with libheif 1.19
Product: [Applications] krita Reporter: Max Pozdeev <maxpozdeev>
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.2.9   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: image example

Description Max Pozdeev 2025-05-15 13:34:56 UTC
Created attachment 181331 [details]
image example

SUMMARY

Some linux distributions uses libheif library v1.19 which has received huge changes like disabled automatic colorspace conversion.
Krita in such environments can not open images in .heic files produced by smartphones. 
It just shows blank canvas.

If we replace the library in the system to the older version - it work normally as expected.

STEPS TO REPRODUCE
1. Open .heic image via file dialog
2. 
3. 

OBSERVED RESULT
New document with empty  canvas

EXPECTED RESULT
New document with image displayed

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Alt 11
KDE Plasma Version: 6.3.4
KDE Frameworks Version: 6.13
Qt Version: 6.8.2