Page 1 of 2
Browser not showing transparent png files correctly
Posted: Thu Sep 03, 2020 5:50 pm
by jpage4500
Hi,
I can't figure this one out for the life of me. I have XnView on 2 Macbook's.. 1 of them works fine but the other doesn't. The issue is that I have lots of white icons in .png format with transparent backgrounds.
I'm expecting to see some background color behind the images so I can identify them - but all I get is a white block. The images display correctly in the viewer tab - so it's just the thumbnail view that's not working.
I have 'use alpha channel' option checked but that doesn't seem to do anything. I've also rebuilt the thumbnails many times so it's not that either.. and since I have another Macbook (running the same/latest version) which works fine on the same set of icons - it MUST be a setting. I just can't see if after going back and forth between them.
Any ideas? I'd really appreciate it.
Hopefully the screenshots will show this problem best
grid view:
individual image (looks fine)
https://pasteboard.co/JpoX8Yg.png
settings:
https://pasteboard.co/JpoXpxG.png
Re: Browser not showing transparent png files correctly
Posted: Mon Sep 07, 2020 8:51 am
by xnview
could you post the thumbnail view on the mac where it works?
Re: Browser not showing transparent png files correctly
Posted: Tue Sep 15, 2020 2:08 pm
by jpage4500
Sorry, I guess I didn't have notifications turned on because I didn't know someone replied to this message.
Here's a picture from XNView on another Macbook. Same images and same version of XNView. This is what I'm trying to achieve:

Re: Browser not showing transparent png files correctly
Posted: Tue Sep 15, 2020 2:16 pm
by jpage4500
Not sure if it helps, but here's an example .png file.. nothing special - just a white icon with transparent background.

Re: Browser not showing transparent png files correctly
Posted: Wed Sep 16, 2020 6:32 am
by xnview
which compression do you use for thumbnails/catalog?
Re: Browser not showing transparent png files correctly
Posted: Wed Sep 16, 2020 6:48 pm
by jpage4500
Both computers have this set to "Lossless (ZIP)" - although I've also tried disabling the catalog and no difference
Re: Browser not showing transparent png files correctly
Posted: Sat Sep 19, 2020 12:44 pm
by xnview
settings>Thumbnail>Use alpha channel?
Re: Browser not showing transparent png files correctly
Posted: Sat Sep 19, 2020 2:15 pm
by jpage4500
That would be the obvious choice - I agree.. but, checked/unchecked - no difference. Including rebuilding thumbnails after each check
Re: Browser not showing transparent png files correctly
Posted: Wed Sep 30, 2020 11:57 am
by xnview
jpage4500 wrote: Sat Sep 19, 2020 2:15 pm
That would be the obvious choice - I agree.. but, checked/unchecked - no difference. Including rebuilding thumbnails after each check
i can't reproduce, could you send me your xnview.ini?
Re: Browser not showing transparent png files correctly
Posted: Wed Sep 30, 2020 2:30 pm
by jpage4500
>> could you send me your xnview.ini?
The last post gave me an idea.. I copied the /.config/xnview folder from the working mac to the one with the issue and that did it. I guess maybe this file was corrupted somehow..
anyway, looks like it's working now!
Re: Browser not showing transparent png files correctly [Mac - Solved]
Posted: Sun Oct 04, 2020 1:58 pm
by eliio
Hello,
I have the same problem and tried to check "Thumbnail > Use alpha channel" on and off, rebuild thumbnails, delete the folder from the catalog. Every time the thumbnails were generated opaque. I've attached the screen and the ini file.

Re: Browser not showing transparent png files correctly [Mac - Solved]
Posted: Sun Oct 04, 2020 2:15 pm
by eliio
Btw, for
svg files I have transparency on thumbnails, regardless "Use alpha channel" is on or off.

Re: Browser not showing transparent png files correctly [Mac - Solved]
Posted: Mon Oct 05, 2020 3:20 pm
by xnview
could you send me a png example?
Re: Browser not showing transparent png files correctly
Posted: Mon Oct 05, 2020 4:08 pm
by eliio
Yes, sure. The files are in the attachment.
Re: Browser not showing transparent png files correctly
Posted: Tue Oct 06, 2020 6:55 am
by xnview
eliio wrote: Mon Oct 05, 2020 4:08 pm
Yes, sure. The files are in the attachment.
the PNG thumbnails use thumbnail list view background color, do you have tried to 'rebuild thumbnail'?