XnView: MP 1.11.15 - /64-bit
OS: Windows - /64-bit
If we save a large file in HEIC format using lossless compression (according to my tests, this occurs with files larger than 16 MB; there are no issues with files smaller than 16 MB), XnView saves the file but is unable to open it. The file is saved successfully regardless, as programmes such as the Windows Photo Viewer and Paint.NET open it without any issues.
The test file can be downloaded from here: https://unsplash.com/photos/dirt-path-t ... oMwzTK0giQ
or
https://transfer.it/t/qtUdHlpjmBRA (original jpg and lossless HEIC picture)
However, the error can be reproduced with any other image.
Effect: XnView displays the message ‘File can’t be loaded!’ when you try to open it.
To reproduce:
1. Save any large image (over 16 MB in file size) in the HEIC lossless file format
2. XnView displays the message ‘File can’t be loaded!’ when you try to open it
Actual behaviour (bug): XnView displays the message ‘File can't be loaded!’
Expected behaviour: XnView should open the image, just like other programmes do.
1.11.15 - HEIC Lossless compression bug
Moderators: xnview, Dreamer
-
xnview
- Author of XnView
- Posts: 48780
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: 1.11.15 - HEIC Lossless compression bug
lossless or not, it's the same. libheif returns an error for this file 
-
Benchmark
- Posts: 11
- Joined: Thu Feb 06, 2025 3:11 pm
Re: 1.11.15 - HEIC Lossless compression bug
I can confirm this bug.AveSulla wrote: Thu Aug 27, 2026 8:02 am If we save a large file in HEIC format using lossless compression (according to my tests, this occurs with files larger than 16 MB; there are no issues with files smaller than 16 MB), XnView saves the file but is unable to open it. The file is saved successfully regardless, as programmes such as the Windows Photo Viewer and Paint.NET open it without any issues.
Interestingly XnView MP v1.11.4 beta 2 for Qt6 opens such files without any problem.
-
xnview
- Author of XnView
- Posts: 48780
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: 1.11.15 - HEIC Lossless compression bug
It seems that LibHEIF 1.23.1 has problem with this fileBenchmark wrote: Tue Sep 01, 2026 9:04 am Interestingly XnView MP v1.11.4 beta 2 for Qt6 opens such files without any problem.