1.91.2 (xp) - small bitmap no longer displayed

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

Moderators: helmut, XnTriq, xnview

klaus2
Posts: 98
Joined: Thu Nov 02, 2006 7:27 pm

Post by klaus2 »

-
This file now crashes xnview 1.94 :-(
-
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Get it ?

Post by Clo »

:arrow: klaus2

:) Hello !

• Please, could you place that file on a server or display it in a message in order to test ? TIA !
…(they seem to have their own proprietaire transparent bitmap formats).
• I missed that one year ago, so, aside :
- With Delphi, the left-bottom pixel defines the colour used as transparent, that's often a very annoying feature ! :(

:mrgreen: VG
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
klaus2
Posts: 98
Joined: Thu Nov 02, 2006 7:27 pm

Post by klaus2 »

Hi Clo :-)

i'm aware that those delphi "bad alpha channeled" bitmaps seem to be a little bit irregular
but it would be nice to to keep them to be displayed ...

Hm i'm hoping you can get it by that (but here it appears to be converted to a png? A possiblity to mail it?)
Image

Best Regards,
klaus2
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

PNG---

Post by Clo »

:arrow: klaus2

:) Again…

• Yes, it's a PNG :| The BG is set as Magenta pink (255-0-255).

• I don't think that the e-mail feature from the board supports attachments…
- You could send it to me via
charriesATwanadooDOTfr
- Then, I could place it on a server of mine…

:mrgreen: VG
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice
klaus2
Posts: 98
Joined: Thu Nov 02, 2006 7:27 pm

Post by klaus2 »

Hi Clo,

done (bitmap and inifile).

The strange thing ist:
as i try it now with a this simplified directory (containing only the bitmap and the inifile)
the exception does not occor when _entering_ this directoy but when _leaving_ it.
Playing around with "use alpha channel" true vs. false
and/or removing the diverse (category/xnview) . db's before
and/or apply "rebuild thumbnails" i get get problems at different stages
but however constantly that will be accomplished by an exception.

Best Regards,
klaus2

xnview 1.94; win XP SP3
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France
Contact:

Got it

Post by Clo »

:arrow: klaus2

:) Again…

• I got the stuff, thank you !

• I'll test that a.s.a.p., currently I need a pair of matches to keep my eyelids open ! :D

:mrgreen: VG
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:

Tested---

Post by Clo »

:arrow: klaus2

:) Hello !

• Your sample is available “as is” HERE

• I can display it in XnView 1.94 without any crash, but the transparency is not rendered…
- It's displayed in a Delphi-written viewer with the transparency, because like I said above
the left-bottom pixel thingy takes precedence over all other features.

• However, it crashes Total Commander when I do a right-click on it to open the local menu !

- I saved a copy in GFIE which considers it as 8 BPP - that is not quite wrong-
that image is obviously an old 16-colour picture drawn with “dithered” colours (like in Paintbrush 16-bit…).
- The 8 BPP version is only 256 bytes…It works fine in Delphi viewers.
- I resaved that image in XnView as 32 BPP, then it's OK in Total Commander…

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

Post by xnview »

klaus2 wrote:-
This file now crashes xnview 1.94 :-(
-
Really? I can't reproduce :-(
Pierre.
klaus2
Posts: 98
Joined: Thu Nov 02, 2006 7:27 pm

Post by klaus2 »

Hi Clo and Pierre.

i'm wondering that you don't encounter that exception at all;
i permanently can reproduce it on at least 2 pc's; win xp SP3 and win2K.

So i tried to make it reproducable by:
1) put the test bitmap acGotoSystem.bmp into a separate fresh/new directory
2) unzip XnView-win.zip from the download page to a fresh directory
3) copy my xnview.ini (as picked up from my 1.93.6) into the new xnview directory - see PS
4) start xnview and navigate in the browser to the test bitmap directory -> the bitmap will be displayed
5) leave that directory in the browser => boom (if not, try it again a couple of times)
Does not depend on a "rebuild thumbnails" between 3 and 4.

Kind regards,
klaus2

PS: i emailed that recently used inifile to you both again
please note: cache IsActive=0, IgnoreAlpha=1
klaus2
Posts: 98
Joined: Thu Nov 02, 2006 7:27 pm

Post by klaus2 »

Hi experts,

meanwhile i tried using a very minimalistic inifile -> no problem
reconstructed my "old" favorite settings from the scratch -> no problem

So i assume my "good old inifile" probably contained some very destructive historical settings
that worked like a torpedo ... (i'll try to find out which ones)

So, for me this issue is solved.

Kind regards,
klaus2
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

My INI file should be “clean”, because I go through all the options and rework the settings from scratch whenever I install a new version.

Tools » Options...:
  • [x] Ignore alpha channel (General » Operations)
    [  ] Enable Caching (Browser » Thumbnails » Cache)
  • Image
    XnView v1.94 on Windows 2000
Pierre, is acgotosystem.bmp run-length encoded? I've had display problems with RLE bitmaps before.
Last edited by XnTriq on Wed Jul 23, 2008 4:45 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 46255
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Don't use ' Ignore alpha channel', there is no more need of this option. I'll remove it
Pierre.
Post Reply