0.97.1 File saved as HEIC/HEIF result 0 bytes

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
chencher
Posts: 5
Joined: Sat Sep 14, 2019 10:26 pm

0.97.1 File saved as HEIC/HEIF result 0 bytes

Post 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 535 times
20201016-162627_42.png
20201016-162627_42.png (14.71 KiB) Viewed 535 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.
User avatar
xnview
Author of XnView
Posts: 34717
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

i have no problem to save HEIC format, do you have the heic.dll (2020) in plugin folder?
Pierre.
chencher
Posts: 5
Joined: Sat Sep 14, 2019 10:26 pm

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

Post 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.
User avatar
xnview
Author of XnView
Posts: 34717
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post 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?
Pierre.
chencher
Posts: 5
Joined: Sat Sep 14, 2019 10:26 pm

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

Post by chencher »

Yes, but heif.dll, not heic.dll
Image
Attachments
20201010-101005_48.png
20201010-101005_48.png (22.18 KiB) Viewed 460 times
Last edited by chencher on Tue Oct 20, 2020 7:11 am, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 34717
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post 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?
Pierre.
chencher
Posts: 5
Joined: Sat Sep 14, 2019 10:26 pm

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

Post by chencher »

xnview wrote: Tue Oct 20, 2020 7:09 am Oh sorry, yes heif.dll. for reading, no problem?
Yes, reading is ok.
User avatar
xnview
Author of XnView
Posts: 34717
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview »

ok, currently heif.dll is only used for loading. The HEIC store component is used to save.
Pierre.
rutra80
Posts: 3
Joined: Sun Nov 15, 2020 12:22 pm

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

Post by rutra80 »

So how can I save heic files with xnview? What is store component and how do I install it?
User avatar
xnview
Author of XnView
Posts: 34717
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post 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
Pierre.
rutra80
Posts: 3
Joined: Sun Nov 15, 2020 12:22 pm

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

Post 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?
User avatar
xnview
Author of XnView
Posts: 34717
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post 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
Pierre.
Post Reply