Bug 426964

Summary: The heic format saved in the Samsung Galaxy s10 5G cannot be read.
Product: [Applications] krita Reporter: 이야기 <iyagicom>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: critical CC: griffinvalley, halla, iyagicom
Priority: NOR    
Version First Reported In: 4.3.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Sample

Description 이야기 2020-09-25 15:49:26 UTC
SUMMARY
Heic format cannot be read.

STEPS TO REPRODUCE
1. Shooting in small heic format
2. Can't read from krita
Gimp is readable.



deepin@deepin-PC:~$ uname -a
Linux deepin-PC 5.4.50-amd64-desktop #74 SMP Mon Aug 24 20:15:37 CST 2020 x86_64 GNU/Linux
deepin@deepin-PC:~$ cat /etc/os-release 
PRETTY_NAME="Deepin 20"
NAME="Deepin"
VERSION_ID="20"
VERSION="20"
ID=Deepin
HOME_URL="https://www.deepin.org/"
BUG_REPORT_URL="https://bbs.deepin.org/"
Comment 1 Halla Rempt 2020-09-25 16:01:28 UTC
Sorry, but this is clearly not a critical bug, so I'm downgrading to normal. Please attach a sample file that Krita cannot loadto this bug report; without that we cannot do anything.
Comment 2 wolthera 2020-09-25 16:05:03 UTC
hi, we cannot do anything without a file to test with. Do you have such a file?
Comment 3 이야기 2020-09-25 23:41:20 UTC
Created attachment 131940 [details]
Sample

I uploaded a hot photo I just took.
Comment 4 2wxsy58236r3 2020-09-26 01:55:13 UTC
Are you using the Krita binary from Deepin? Or did you compile Krita from source?

It looks like Deepin's Krita is outdated (4.0.3) [1], so HEIF/HEIC is not supported.

If you compile Krita yourself, please make sure you have libheif installed during compilation.

[1] http://ftp.ubuntu-tw.org/mirror/deepin/pool/main/k/krita/
Comment 5 Bug Janitor Service 2020-09-26 04:33:16 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 6 Halla Rempt 2020-09-26 08:22:44 UTC
Or please test using the latest beta (https://krita.org/en/item/first-beta-out-for-krita-4-4/) -- there is an appimage that should work on your linux system. I just checked, and the test file opens fine with that.
Comment 7 이야기 2020-09-26 23:44:09 UTC

(In reply to 2wxsy58236r3 from comment #4)
> Are you using the Krita binary from Deepin? Or did you compile Krita from
> source?
> 
> It looks like Deepin's Krita is outdated (4.0.3) [1], so HEIF/HEIC is not
> supported.
> 
> If you compile Krita yourself, please make sure you have libheif installed
> during compilation.
> 
> [1] http://ftp.ubuntu-tw.org/mirror/deepin/pool/main/k/krita/

I am using 4.3.0.
It was installed with the following command.
flatpak install flathub org.kde.krita

Can you read the files I uploaded?
Comment 8 이야기 2020-09-27 01:35:44 UTC
(In reply to Boudewijn Rempt from comment #6)
> Or please test using the latest beta
> (https://krita.org/en/item/first-beta-out-for-krita-4-4/) -- there is an
> appimage that should work on your linux system. I just checked, and the test
> file opens fine with that.

HEIC format opens well in Krita 4.4 beta.
Thank you.