Page 1 of 1

0.97.1 File saved as HEIC/HEIF result 0 bytes

Posted: Mon Oct 19, 2020 1:51 pm
by chencher
XnView: MP 0.97.1 64bits
OS: Windows 10 64bit build 19042.572

Convert image to HEIC/HEIF look succes (no errors or messages), but result in heic file is 0 bytes.

Effect: Saved file in HEIC/HEIF is 0 bytes.

To reproduce:
1. Open any PNG or JPG image (I've tested only them).
2. File - Save as (Ctrl + Shift + S).
3. Select HEIC - HEIF, save the image.

20201016-164005_44.png

4. Status bar shows 0 bytes. Windows Explorer shows 0 bytes.

20201016-162501_40.png
20201016-162501_40.png (7.3 KiB) Viewed 2160 times
20201016-162627_42.png
20201016-162627_42.png (14.71 KiB) Viewed 2160 times

Actual behaviour (bug): Saved file in HEIC/HEIF is 0 bytes :bug:

Expected behaviour: Saved file in HEIC/HEIF is greater than 0 bytes and contains image.

Re: 0.97.1 File saved as HEIC/HEIF result 0 bytes

Posted: Mon Oct 19, 2020 3:21 pm
by xnview
i have no problem to save HEIC format, do you have the heic.dll (2020) in plugin folder?

Re: 0.97.1 File saved as HEIC/HEIF result 0 bytes

Posted: Mon Oct 19, 2020 5:33 pm
by chencher
No, heic.dll is missing, but there is heif.dll:
File Modified: 02.09.2020 9:58:18
File Created: 03.10.2020 7:19:14
File Size: 396 288 bytes


Before I discovered the described problem, I updated XnView MP from 0.97.0 to 0.97.1 using installer from site.

Re: 0.97.1 File saved as HEIC/HEIF result 0 bytes

Posted: Mon Oct 19, 2020 6:21 pm
by xnview
chencher wrote: Mon Oct 19, 2020 5:33 pm No, heic.dll is missing, but there is heif.dll:
I don't understand, do you have it?

Re: 0.97.1 File saved as HEIC/HEIF result 0 bytes

Posted: Tue Oct 20, 2020 7:05 am
by chencher
Yes, but heif.dll, not heic.dll
Image

Re: 0.97.1 File saved as HEIC/HEIF result 0 bytes

Posted: Tue Oct 20, 2020 7:09 am
by xnview
chencher wrote: Tue Oct 20, 2020 7:05 am Yes, but heif.dll, not heic.dll
Oh sorry, yes heif.dll. for reading, no problem?

Re: 0.97.1 File saved as HEIC/HEIF result 0 bytes

Posted: Tue Oct 20, 2020 7:16 am
by chencher
xnview wrote: Tue Oct 20, 2020 7:09 am Oh sorry, yes heif.dll. for reading, no problem?
Yes, reading is ok.

Re: 0.97.1 File saved as HEIC/HEIF result 0 bytes

Posted: Wed Oct 21, 2020 8:16 am
by xnview
ok, currently heif.dll is only used for loading. The HEIC store component is used to save.

Re: 0.97.1 File saved as HEIC/HEIF result 0 bytes

Posted: Sat Nov 21, 2020 12:29 pm
by rutra80
So how can I save heic files with xnview? What is store component and how do I install it?

Re: 0.97.1 File saved as HEIC/HEIF result 0 bytes

Posted: Sat Nov 21, 2020 4:06 pm
by xnview
rutra80 wrote: Sat Nov 21, 2020 12:29 pm So how can I save heic files with xnview? What is store component and how do I install it?
you need to install HEIF plugin from Windows store

Re: 0.97.1 File saved as HEIC/HEIF result 0 bytes

Posted: Sat Nov 21, 2020 7:17 pm
by rutra80
I do have it. Unfortunately for some reason saving doesn't work system wide, in Paint neither.

EDIT: ok I found out that it is also needed to install HEVC, which isn't free. Maybe it would be worthwhile to implement HEIC saving in XnView natively?

Re: 0.97.1 File saved as HEIC/HEIF result 0 bytes

Posted: Sun Nov 22, 2020 8:30 am
by xnview
rutra80 wrote: Sat Nov 21, 2020 7:17 pm EDIT: ok I found out that it is also needed to install HEVC, which isn't free. Maybe it would be worthwhile to implement HEIC saving in XnView natively?
yes