Page 2 of 2

Posted: Mon Jul 21, 2008 5:36 pm
by klaus2
-
This file now crashes xnview 1.94 :-(
-

Get it ?

Posted: Mon Jul 21, 2008 7:00 pm
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

Posted: Mon Jul 21, 2008 7:38 pm
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

PNG---

Posted: Mon Jul 21, 2008 8:16 pm
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

Posted: Mon Jul 21, 2008 9:20 pm
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

Got it

Posted: Mon Jul 21, 2008 10:09 pm
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

Tested---

Posted: Tue Jul 22, 2008 2:05 am
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

Posted: Tue Jul 22, 2008 9:24 am
by xnview
klaus2 wrote:-
This file now crashes xnview 1.94 :-(
-
Really? I can't reproduce :-(

Posted: Tue Jul 22, 2008 6:09 pm
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

Posted: Tue Jul 22, 2008 9:57 pm
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

Posted: Wed Jul 23, 2008 3:00 am
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.

Posted: Wed Jul 23, 2008 6:52 am
by xnview
Don't use ' Ignore alpha channel', there is no more need of this option. I'll remove it