PNG - thumbnail != image

Bugs found in XnView Classic. Please report only one bug per topic!

Moderators: XnTriq, helmut, xnview

Hacker
Posts: 242
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

PNG - thumbnail != image

Post by Hacker »

Please see http://thehacker.totalcmd.net/factory_logo_2.png . The thumbnail is displayed ok, but every other view (preview, view, fullscreen) displays something like a second layer between the factory and the "candy factory" text.

Roman
User avatar
xnview
Author of XnView
Posts: 44895
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: PNG - thumbnail != image

Post by xnview »

Hacker wrote:Please see http://thehacker.totalcmd.net/factory_logo_2.png . The thumbnail is displayed ok, but every other view (preview, view, fullscreen) displays something like a second layer between the factory and the "candy factory" text.
Your picture has an alpha channel, so if you want to load it in 24bits (as thumbnail), set options/Read/Png/Compose...
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

No background only…

Post by Clo »

:) Hello Roman !

¤ I don't see anything abnormal when displaying that pic in XnView, in all modes, except that the beige background I can see here in the browser is not shown, it's white…
- I've the two options checked (like Pierre says above)
- However, the lack of background colour is a bit odd…
- Under Win 98 SE


:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Hacker
Posts: 242
Joined: Tue May 17, 2005 9:24 pm
Location: Bratislava, Slovakia

Re: PNG - thumbnail != image

Post by Hacker »

xnview wrote:Your picture has an alpha channel, so if you want to load it in 24bits (as thumbnail), set options/Read/Png/Compose...
Oh, thanks for pointing me to those options, they seem to work.

However, I wonder, what do the options mean / what is the difference between them?

Clo,
Thanks for testing. :)

TIA
Roman
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

More---

Post by Clo »

:) Hi Roman !

- Testing further, I can say :
1. the original doesn't show the transparency here, but the whole pic is quite viewable in XnView (and also in TC/F3 with Imagine plugin), but not in Uniview : the lower part is missing, and the colours are inverted…
- The lack of transparency under Win 98 SE is so usual for some pics…

2. I converted a copy into 8 BPP (adaptative) in XnView, then the transparency works (directly, I had NOT to set it in the palette).
- For the two versions here, XnView says "32 colours" in the pic. I have greys at the edges and for the font as "soften" (anti-alias)…
- The thumb-nails are good too in TC (XnView method) for the two versions, except the transparency, of course…
They look "Black & White".

:mrgreen: Kind regards,
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice