B3: Icons in preview

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

Moderators: helmut, XnTriq, xnview

Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

B3: Icons in preview

Post by Dreamer »

Some icons in preview look strange. Thumbnail is OK.

Image

Edit: it looks the same also in fullscreen and viewer, only thumbnails are OK.

Sample to test:

http://www.mediafire.com/?muvdlbbewtc
Dreamer
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Nice here

Post by Clo »

:arrow: Dreamer

:) Hello !

• The icons previews are OK here…
- I'll check the faulty icon itself a.s.a.p.

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Testing the sample…

Post by Clo »

:) Again…

•Your sample is a multipage icon containing 23 pages (formats), including a 256² one, 4BPP, certainly PNG-compressed.
- The size of that original icon is 315,740 bytes.
- XnView displays only three of the B & W pages in View, the Preview is wrong, the transparency is not rendered.
- I saved a copy in GreenFish Icon Editor - without PNG compression for the 256², the file size is 588,486 bytes -
then, XnView displays all pages in View, but the preview is still stuck on the fisrt B & W format in the file…

• I saved another copy in GreenFish Icon Editor with its PNG compression, the file is 306,317 bytes.
The XnView behaviour is same than with the original…

Pierre has his work cut out…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: B3: Icons in preview

Post by xnview »

For thumbnail, xnview try to find the best icons. And yes there is a problem, only 4 icons can be viewed, your .ico is not good
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

The file is good

Post by Clo »

:arrow: Pierre

:) Hello !

• This ICO file is good, but :

1. The first page is taken for the thumbnail and preview, and it's a B & W one (1 BPP).
- So, the transparency is shown as black.
- XnView does NOT look for the best icon in the multipage ICO.
- I changed the pages order in GFIE, then the first is taken, still.

2. XnView doesn't support the 256² (Vista) PNG-compressed icon.

¤ Please, read my report above…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: The file is good

Post by xnview »

Clo wrote: • This ICO file is good, but :
No some data seems to be bad!
2. XnView doesn't support the 256² (Vista) PNG-compressed icon.
???? XnView support them, could you send me a sample?
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Sample for everybody---

Post by Clo »

:arrow: Pierre

:) Again…

• You can get a sample HERE

- The same non-compressed works in XnView, the sample is saved as compressed in GFIE which conforms the norms…

- None standalone such file works here, and puts the mess when embedded in a multipage ICO, like the Dreamer's one.
- Whether it's the first page, that doesn't work at all (unknown format message).

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Sample for everybody---

Post by xnview »

Ok, i'll try to find some info about PNG compression for ICO
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Almost all fixed---

Post by Clo »

:arrow: Pierre

:) It's fixed in 1.94 RC! Wha ! Fast , thank you !

• But the Preview shows the first page still…
- Maybe it shoud be desirable to ignore the 1 BPP pages up to the first having let's say,
at least 4 BPP as colour-depth to use in the preview?

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

Still the same in v1.94.

Moved to Bug Reports.
Dreamer
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Dreamer wrote:Still the same in v1.94.
You want to view the best icon like thumbnail?
Pierre.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Ignore B&W

Post by Clo »

:arrow: Pierre

:) Hello !

• Like I said above, the first page is still used for the thumb nail and the preview…
- In the Dreamer's icon, it's a B & W one. So, if possible,
it should be nice to ignore the B & W pages up to the first coloured…
---------------

:arrow: Dreamer

:) Temporarily, you could change the order of the pages using GFIE or any other good icon editor,
in order to get a coloured icon as the first page.
- In GFIE, that's very easy, just D&D and save…

:mrgreen: KR
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

xnview wrote:
Dreamer wrote:Still the same in v1.94.
You want to view the best icon like thumbnail?
Yes, if possible, because in some cases the first icon is quite unusable and it's strange that thumbnail looks (much) better than preview/fullscreen view.
Dreamer
Dreamer
XnThusiast
Posts: 4608
Joined: Sun Jul 25, 2004 9:08 pm

Post by Dreamer »

In Browser mode it's better, color icon is used, the same as for thumbnail, but not the best (largest) icon. In view/edit mode it's still the same - only small b/w icon.

1.95 beta 1, Win Vista.
Dreamer
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Dreamer wrote:In Browser mode it's better, color icon is used, the same as for thumbnail, but not the best (largest) icon. In view/edit mode it's still the same - only small b/w icon.
Not the largest??? Please send me a sample?
Pierre.
Post Reply