Handle AVIF if file extension is renamed to .HEIC and .HEIF

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

User avatar
o-l-a-v
Posts: 13
Joined: Thu May 01, 2014 1:50 pm

Handle AVIF if file extension is renamed to .HEIC and .HEIF

Post by o-l-a-v »

Currently, XnViewMP v1.3.1 does not handle AVIF images if the file extension is renamed to .HEIC or .HEIF.

As long as the container is HEIF, XnViewMP should handle common file extensions used for images in this container. For both AV1 and HEVC.

Windows supports this "natively", as long as you have the HEIF Image Extensions and AV1 Video Extension installed, both in thumbnails in Windows Explorer, but also when opening the files with the Microsoft Photos app.
You do not have the required permissions to view the files attached to this post.
dedbombom
Posts: 39
Joined: Tue May 18, 2021 3:22 pm

Re: Handle AVIF if file extension is renamed to .HEIC and .HEIF

Post by dedbombom »

I want to expand this suggestion and that XnView MP can be able to detect proper file format not only by file extension but by MIME type or what method is used in nconvert that allows to convert files with wrong extensions without error so when I open any file and XnView MP can't open/view it and raises error better do real format check 1st and try to auto-open/view file again. In GIMP there are no such problem and it opens file not matter what extension is (for example I can rename any supported media file to "1.dedbombom" and it would open it without any problems).
P.S. Sometimes it's working fine if webp renamed to png for example but if jxl rename to jpg then it's not opening.
ckit
XnThusiast
Posts: 2568
Joined: Tue Feb 17, 2004 1:11 am
Location: QLD, Australia

Re: Handle AVIF if file extension is renamed to .HEIC and .HEIF

Post by ckit »

+1 for both o-l-a-v and dedbombom 👍👍
AMD Ryzen 3 3300X 3.8Ghz, 16Gb DDR4, RX6600XT with Dell U2520D at 2560x1440@60Hz
Windows 11 Pro x64 23H2, PowerToys and Wintoys