Save as AVIF doesn‘t work

Reported bugs that have been closed and/or resolved

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
AndreasW
Posts: 73
Joined: Mon Jul 01, 2019 1:57 pm

Save as AVIF doesn‘t work

Post by AndreasW »

Using XnView MP 1.5.2 on iMac with Intel processor.

Whenever I try to save an image in AVIF format, I get the error shown in the last screenshot below. XnView MP will create a file with the extension .avif having 0 bytes. The format of the original image doesn't matter. The file name doesn't matter either.
 
Save file.png
 
Write settings.png
 
An error occurred.png
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Save as AVIF doesn‘t work

Post by xnview »

it's :bugconfirmed: AVIF is not supported on MacOS
Pierre.
AndreasW
Posts: 73
Joined: Mon Jul 01, 2019 1:57 pm

Re: Save as AVIF doesn‘t work

Post by AndreasW »

It would be great XnView MP would support it. AVIF seems to be a useful format, it has better compression ratio than WEBP. GraphicConverter 12 on Mac does support it. So there's no general reason why it can't be done on Mac.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Save as AVIF doesn‘t work

Post by xnview »

See issue for current status and some details.
Pierre.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Save as AVIF doesn‘t work

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.6.0. Please check and confirm the bug fix here.
Pierre.
AndreasW
Posts: 73
Joined: Mon Jul 01, 2019 1:57 pm

Re: Save as AVIF doesn‘t work

Post by AndreasW »

Not fixed. I still get the error "An error occurred during saving."
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Save as AVIF doesn‘t work

Post by xnview »

AndreasW wrote: Thu Oct 12, 2023 1:30 pm Not fixed. I still get the error "An error occurred during saving."
you need to install libheif with brew
Pierre.
AndreasW
Posts: 73
Joined: Mon Jul 01, 2019 1:57 pm

Re: Save as AVIF doesn‘t work

Post by AndreasW »

xnview wrote: Thu Oct 12, 2023 1:34 pm you need to install libheif with brew
That's quite uncomfortable for the user. Other apps such as GraphicConverter are able to save files in AVIF format without such inconveniences.
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Save as AVIF doesn‘t work

Post by xnview »

yes i understand, i need to package the libheif library
Pierre.
AndreasW
Posts: 73
Joined: Mon Jul 01, 2019 1:57 pm

Re: Save as AVIF doesn‘t work

Post by AndreasW »

Thank you very much for your efforts!
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Save as AVIF doesn‘t work

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.6.1. Please check and confirm the bug fix here.
Pierre.
AndreasW
Posts: 73
Joined: Mon Jul 01, 2019 1:57 pm

Re: Save as AVIF doesn‘t work

Post by AndreasW »

Not fixed. I still get the error "An error occurred during saving."
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Save as AVIF doesn‘t work

Post by xnview »

AndreasW wrote: Sun Oct 15, 2023 4:44 pm Not fixed. I still get the error "An error occurred during saving."
Currently there is only libraries for arm64 in the package
Pierre.
AndreasW
Posts: 73
Joined: Mon Jul 01, 2019 1:57 pm

Re: Save as AVIF doesn‘t work

Post by AndreasW »

I have a Mac with Intel processor.
AndreasW
Posts: 73
Joined: Mon Jul 01, 2019 1:57 pm

Re: Save as AVIF doesn‘t work

Post by AndreasW »

Today I got a new Mac with Apple chip, and I can confirm that saving as AVIF does work. Thank you very much!
Post Reply