XnViewMP 1.01 - browser window has problems with 32bit color depth files (AVIF/PNG)

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

User avatar
masterjp
Posts: 305
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

XnViewMP 1.01 - browser window has problems with 32bit color depth files (AVIF/PNG)

Post by masterjp »

I have some 32bit color depth pictures in avif and png file format in one directory. I opened the folder in browser window and the thumbnails of these two files have graphic errors. I can rebuild the thumbnails of these pictures and the results are perfect. If I open the same folder in browser window again,
I will see the same graphic errors.
.
1. AVIF (32bit color depth) => errors
2. PNG (32bit color depth) => errors
3. AVIF (24bit color depth) => no errors
.
I can open all files in fullscreen mode and all pictures have no graphic errors.
.
My XnViewMP program use the webp file format for catalog caching.
If I use the jpeg quality (low or high), everything is fine.
.
Is it possible to modify the catalog system for webp quality setting?
If you use 16 or 24bit color depth for webp thumbnail cache file, we would'nt see any graphic errors.
.
gfx-errror.jpg
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill
OS: Windows 10 Pro x64 (latest updates) | XN-View (latest stable version) |XnViewMP (latest stable version) | XnConvert (latest) | Adobe Photoshop Elements 2022 & Elements XXL 9
User avatar
xnview
Author of XnView
Posts: 38830
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnViewMP 1.01 - browser window has problems with 32bit color depth files (AVIF/PNG)

Post by xnview »

even after a thumbnail rebuild?
Pierre.
User avatar
masterjp
Posts: 305
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: XnViewMP 1.01 - browser window has problems with 32bit color depth files (AVIF/PNG)

Post by masterjp »

I tried a thumbnail rebuild and they looked right.
After that I browsed to another folder and moved again into the directory with the 32bit avif/png files.
The thumbnails get the same graphic errors again.
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill
OS: Windows 10 Pro x64 (latest updates) | XN-View (latest stable version) |XnViewMP (latest stable version) | XnConvert (latest) | Adobe Photoshop Elements 2022 & Elements XXL 9
User avatar
xnview
Author of XnView
Posts: 38830
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnViewMP 1.01 - browser window has problems with 32bit color depth files (AVIF/PNG)

Post by xnview »

i've tried with 1.02 & 32bits PNG, and no problem
Pierre.
User avatar
masterjp
Posts: 305
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: XnViewMP 1.01 - browser window has problems with 32bit color depth files (AVIF/PNG)

Post by masterjp »

Here is a small video for you, which shows the problem.
It is a mp4 video file (HEVC encoded).
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill
OS: Windows 10 Pro x64 (latest updates) | XN-View (latest stable version) |XnViewMP (latest stable version) | XnConvert (latest) | Adobe Photoshop Elements 2022 & Elements XXL 9
User avatar
xnview
Author of XnView
Posts: 38830
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnViewMP 1.01 - browser window has problems with 32bit color depth files (AVIF/PNG)

Post by xnview »

could you send me the 3 files?
Pierre.
User avatar
masterjp
Posts: 305
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: XnViewMP 1.01 - browser window has problems with 32bit color depth files (AVIF/PNG)

Post by masterjp »

Here are my test files.
32bit sample files.zip
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill
OS: Windows 10 Pro x64 (latest updates) | XN-View (latest stable version) |XnViewMP (latest stable version) | XnConvert (latest) | Adobe Photoshop Elements 2022 & Elements XXL 9
User avatar
xnview
Author of XnView
Posts: 38830
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnViewMP 1.01 - browser window has problems with 32bit color depth files (AVIF/PNG)

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
It occurs when alpha is blank
Pierre.
User avatar
masterjp
Posts: 305
Joined: Fri Feb 13, 2009 4:37 pm
Location: Duesseldorf, Germany

Re: XnViewMP 1.01 - browser window has problems with 32bit color depth files (AVIF/PNG)

Post by masterjp »

Fantastic! Thank you!
PC: Intel 8700k + Asus Z370-F + 16 GB RAM G.Skill
OS: Windows 10 Pro x64 (latest updates) | XN-View (latest stable version) |XnViewMP (latest stable version) | XnConvert (latest) | Adobe Photoshop Elements 2022 & Elements XXL 9
User avatar
xnview
Author of XnView
Posts: 38830
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnViewMP 1.01 - browser window has problems with 32bit color depth files (AVIF/PNG)

Post by xnview »

This problem is supposed to be fixed in XnView MP 1.3.0. Please check and confirm the bug fix here.
Pierre.