Crash with animated gif image + ico suggestion

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

Moderators: helmut, XnTriq, xnview

Guest

Crash with animated gif image + ico suggestion

Post by Guest »

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: 38289
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Crash with animated gif image + ico suggestion

Post by xnview »

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

Exotic---

Post by Clo »

:) 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 »

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

Right, but---

Post by Clo »

: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: 6071
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Unshrinking 5-legged cowgirl's dirty rectangles

Post by XnTriq »

: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: 6071
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

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