AVIF image open failed

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

Moderators: XnTriq, helmut, xnview, Dreamer

JesOb
Posts: 1
Joined: Mon Mar 27, 2023 10:06 am

AVIF image open failed

Post by JesOb »

Image from nintendo site can not be opened while firefox can open it

Image itself in attachments
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45500
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: AVIF image open failed

Post by xnview »

no problem here, on windows?
Pierre.
Kadet
Posts: 189
Joined: Thu Oct 20, 2022 7:23 pm

Re: AVIF image open failed

Post by Kadet »

XnView: MP 1.4.3 - 64 bit
Windows 11 Home 64bit 22H2

I can not open animated avif.
I can't do it from Windows Explorer --> "open with" --> XnView MP.
In browser window XnView some time I see this files, some time not. When I see animated avif I can not open it by double click or right click (Open function is gray). I always see other avif images in browser window.

Examples You make here: ezgif.com/gif-to-avif
ckit
XnThusiast
Posts: 2578
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Re: AVIF image open failed

Post by ckit »

I can't confirm with XnViewMP 1.4.3 or IrfanView 4.62 (Windows 11 Pro x64 22H2 and HEIF image extensions)
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro, Windhawk and Wintoys
User avatar
user0
XnThusiast
Posts: 2209
Joined: Sat May 09, 2015 9:37 am

Re: AVIF image open failed

Post by user0 »

xnview can open it if I manually navigate to the file via browser and doubleclick it

otherwhise.. there is issue with assosiation
1. I select XnView MP, press Always
2. doubleclick on image
xnview opens in browser mode with last openned folder
avif_xnview.jpg

also icon in file explorer
avif_file_explorer.png
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45500
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: AVIF image open failed

Post by xnview »

no problem here, please check the registry entry?
Pierre.
ckit
XnThusiast
Posts: 2578
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Re: AVIF image open failed

Post by ckit »

Windows 11
Open Settings app -> Apps -> Default apps -> "Set a default for a file type or link type" type ".avif" and hit Enter
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz scaling 125%
Win11 x64 24H2, Hard Disk Sentinel Pro, MS PowerToys, Process Lasso Pro, Windhawk and Wintoys
User avatar
user0
XnThusiast
Posts: 2209
Joined: Sat May 09, 2015 9:37 am

Re: AVIF image open failed

Post by user0 »

ckit wrote: Mon Apr 03, 2023 12:51 pm Windows 11
Open Settings app -> Apps -> Default apps -> "Set a default for a file type or link type" type ".avif" and hit Enter
it does not help

it is required to manually change regisrty, adding %1, for example:
from

Code: Select all

[HKEY_CURRENT_USER\Software\Classes\avif_auto_file\shell\open\command]
@="\"D:\\PROG\\portable\\graphic\\XnViewMP\\xnviewmp.exe\""
to

Code: Select all

[HKEY_CURRENT_USER\Software\Classes\avif_auto_file\shell\open\command]
@="\"D:\\PROG\\portable\\graphic\\XnViewMP\\xnviewmp.exe\" \"%1\""
User avatar
xnview
Author of XnView
Posts: 45500
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: AVIF image open failed

Post by xnview »

user0 wrote: Mon Apr 03, 2023 1:56 pm it is required to manually change regisrty, adding %1, for example:
yes, strange that Windows doesn't add it...
Pierre.
User avatar
user0
XnThusiast
Posts: 2209
Joined: Sat May 09, 2015 9:37 am

Re: AVIF image open failed

Post by user0 »

the issue is quite old and happened with multiple extenetions
Double-clicking on OpenEXR file has no effect

I also experienced it with .jfif
User avatar
xnview
Author of XnView
Posts: 45500
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: AVIF image open failed

Post by xnview »

yes, but it's not XnView. registry entry is added by Windows
Pierre.
Kadet
Posts: 189
Joined: Thu Oct 20, 2022 7:23 pm

Re: AVIF image open failed

Post by Kadet »

Pierre - do You confirm this bug?
When I open XnView I don't see animated avif files in browser window (top half attached image).
When I open some image and next I close browser tab, and next I click to open the browser tab I see animated avif files (bottom half img). But I can not open this avif.
Non animated avif I see, and I can open that files.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 45500
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: AVIF image open failed

Post by xnview »

animated avif is not supported
Pierre.