Hi,
I noticed an issue concerning 32bits PNG files.
It looks like pictures in this format actually uses the color set in "Options/View/Background color" instead of the black color.
means if you leave this option to grey (default), you'll get grey instead of black in the whole picture. if you set black, you'll get black as expected.
This is also true for the thumbnails view and preview with their respective background color
Tested with XnView 1.92 (19 dec 2007)
black color issue for PNG
Moderators: helmut, XnTriq, xnview
Alpha ?

• Please, try to tick the box in:
–> View Menu >> Use Alpha Channel

Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
Use alpha channel was already checked;
But if I uncheck it, those 32bits PNG files are then displayed properly; thx for the tips.
only left the thumbnails view, where I can't find this option, so you still see the transparent objects in the picture with the thumbnails background color...
possibly I'm wrong, but looks like to me that Use alpha channel option works in the opposite way.
But if I uncheck it, those 32bits PNG files are then displayed properly; thx for the tips.
only left the thumbnails view, where I can't find this option, so you still see the transparent objects in the picture with the thumbnails background color...
possibly I'm wrong, but looks like to me that Use alpha channel option works in the opposite way.
Strange


• Strange, here the option in the menu works normally…
- If I untick it, then the BG is black…
- You can use too the option (F12) >> View [×] Use chequered pattern… or so to replace the transparency.
- The colour depth you set for display in Win does matter too, here I've 16 BPP only,
and I can't see the transparency in the thumbnails (black BG), the chequered pattern is not applied,
while it's in the Preview of the browser…

Claude
Clo
Old user ON SELECTIVE STRIKE till further notice •
Could you post the png picture used?Anonymous wrote:Use alpha channel was already checked;
But if I uncheck it, those 32bits PNG files are then displayed properly; thx for the tips.
only left the thumbnails view, where I can't find this option, so you still see the transparent objects in the picture with the thumbnails background color...
possibly I'm wrong, but looks like to me that Use alpha channel option works in the opposite way.
Pierre.
It's another mangled game/video screenshot.
Recommended settings:
Recommended settings:
- View »
- » Use alpha channel » On
» Show Mask » Off
- » Use alpha channel » On
- Tools » Options... »
- » General » Read/Write » PNG » Parameters » Compose image with transparency » Off
» General » Read/Write » PNG » Parameters » Compose image with alpha (32bits) » Off
» View » View » Background colour » R128/G128/B128
» View » View » Use checkerboard pattern as background » On
» View » Fullscreen » Background colour » R128/G128/B128
- » General » Read/Write » PNG » Parameters » Compose image with transparency » Off
Ok, I was suspecting the screenshot was mangled; but as far as I remember, it was allright with my previous version of xnview (1.82)
Anyway, the point is that I can't use your setting to see them properly; I've got to set View > use alpha channel to off.
besides, I've to set View > Preview > use alpha channel to off in order to display a proper preview, and lastly, I've to rebuild the thumbnails to show them with the right transparency. thx to the links you posted, I didn't know this command
Anyway, the point is that I can't use your setting to see them properly; I've got to set View > use alpha channel to off.
besides, I've to set View > Preview > use alpha channel to off in order to display a proper preview, and lastly, I've to rebuild the thumbnails to show them with the right transparency. thx to the links you posted, I didn't know this command