Crash with animated gif image + ico suggestion

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

Moderators: XnTriq, xnview

Post Reply
Guest

Crash with animated gif image + ico suggestion

Post by Guest » Mon Nov 28, 2005 5:10 am

First off I just want to say that this program rocks. I needed a reason to switch from ACDSee, and have now found it. Thank you.

I am experiencing a crash with version 1.80.3 on Windows XP SP2. The image that causes the crash is:
http://i27.photobucket.com/albums/c172/ ... ity4io.gif

Also, when I associate the .ico or .cur extension in Windows, the icon or cursor no longer shows up when browsing my computer with Windows Explorer. The only thing I see is the icon for XnView. Is this intentional, and if not, can it be made to show the icon itself?

Thanks,
Jason

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

Re: Crash with animated gif image + ico suggestion

Post by xnview » Mon Nov 28, 2005 10:23 am

Anonymous wrote:First off I just want to say that this program rocks. I needed a reason to switch from ACDSee, and have now found it. Thank you.

I am experiencing a crash with version 1.80.3 on Windows XP SP2. The image that causes the crash is:
http://i27.photobucket.com/albums/c172/ ... ity4io.gif
Ok, i'll check
Also, when I associate the .ico or .cur extension in Windows, the icon or cursor no longer shows up when browsing my computer with Windows Explorer. The only thing I see is the icon for XnView. Is this intentional, and if not, can it be made to show the icon itself?
No, if you associate .ico or .cur with XnView, so you can't view anymore icon.
Pierre.

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

Exotic---

Post by Clo » Mon Nov 28, 2005 4:50 pm

:) Hello !

- I can confirm : that picture crashes XnView and Win XP-Pro closes it.

- However, I can see the image in Total Commander "Lister", while XnView IS the partner program for the images in Lister !
- This image is relatively small, and I wondered about its size : 221 KB ! No virus, though…

- I can see it also in the local menu (from ShellExt), like you can see below :

   Image

¤ One more item in my “Five-legged sheeps” collection ! :P

Pierre wrote
…No, if you associate .ico or .cur with XnView, so you can't view anymore icon.
¤ You might forget that Explorer exists… 8)
- Here, *.ico and *.cur are associated with XnView, and all icons are displayed … using Total Commander, of course ! :D

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

User avatar
Drahken
Posts: 884
Joined: Sun Apr 10, 2005 4:29 pm

Post by Drahken » Mon Nov 28, 2005 6:50 pm

That image crashes xnview on XP home SP2 as well, but only if you allow animation. If you go into options and disable gif/jif/ani animation and then open the image, it doesn't crash.

I noticed something odd when I tried it in irfanview, a couple of the frames went outside the bounds of the original dimensions of the image and left pieces of the frame there until it looped again. I wonder if this could be the problem?

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

Right, but---

Post by Clo » Mon Nov 28, 2005 7:22 pm

:arrow: Drahken
:) Hello !
…If you go into options and disable gif/jif/ani animation and then open the image, it doesn't crash.
- Right, same here with XP-Pro SP1
…I wonder if this could be the problem?

- I viewed all frames : it seems that almost all have different dimensions !
- I made quickly a small animated GIF having three frames of three dimensions, it doesn't crash XnView :

    Image
- However, this is a "normal" 8 BPP GIF, and not a lame 7 BPP… :?

:mrgreen: K R
Claude
Clo
Old user ON SELECTIVE STRIKE till further notice

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

Unshrinking 5-legged cowgirl's dirty rectangles

Post by XnTriq » Thu Dec 01, 2005 11:55 pm

:twisted: Dr. XnTriq examined our 5-legged cowgirl using Gamani's GIF Movie Gear which has a feature called “Shrink frames to smallest needed rectangle” or “Optimisation par réduction au plus petit rectangle désiré”.

Usually you can undo this:
Gamani ([url=http://www.gamani.com/tutorial/gmgtut.htm#dirty]“Dirty Rectangle” Optimization[/url]) wrote:Finally notice that you can remove any inter-frame transparency and/or dirty rectangle cropping in any animation (including any animations you download from the Web) by selecting Unoptimize from the Animation menu.
Unoptimizing this particular file fails, because frame #1 has a global palette while frames #2 to #37 have local ones.
However, once the local palettes are removed in favor of one global meta-palette, XnView has no trouble playing back the animation.

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

Post by XnTriq » Sat Dec 10, 2005 7:25 am

Good news: XnView 1.82 will be able to handle Nancy Callahan. Pierre did “fix a bug for animated gif”.

Post Reply