Bad GIF implementation

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

Moderators: XnTriq, helmut, xnview

vykupitel
Posts: 10
Joined: Fri Nov 26, 2004 2:49 pm

Bad GIF implementation

Post by vykupitel »

Hello,

I found that XnView have bad GIF format implementation. Try to look at this GIF in for example Firefox and then in XnView, It is GIF with true colors in many frames with 256 colors.

It is from article from czech opensource site Root.cz, where was published article about GIF.
Last edited by vykupitel on Wed Aug 23, 2006 11:16 am, edited 1 time in total.
User avatar
Drahken
Posts: 884
Joined: Sun Apr 10, 2005 4:29 pm

Post by Drahken »

Few (if any) image viewers/editors have a proper gif implementation. View that image in any other viewer/editor and you won't get any better results. The best results come from irfanview, but it keeps animating the pic, jumping back to the begining every time it completes it. Some show only the very first frame, some show nothing but a black screen.
Oh the feuhrer, oh the feuhrer, oh the feuhrer's nipples bonk!
User avatar
xnview
Author of XnView
Posts: 44885
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Bad GIF implementation

Post by xnview »

vykupitel wrote:Hello,

I found that XnView have bad GIF format implementation. Try to look at this GIF in for example Firefox and then in XnView, It is GIF with true colors in many frames with 256 colors.

It is from article from czech opensource site Root.cz, where was published article about GIF.
Ok, i'll check...
Pierre.
User avatar
XnTriq
Moderator & Librarian
Posts: 6387
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Bad GIF implementation

Post by XnTriq »

vykupitel wrote:I found that XnView have bad GIF format implementation. Try to look at this GIF in for example Firefox and then in XnView, It is GIF with true colors in many frames with 256 colors.

It is from article from czech opensource site Root.cz, where was published article about GIF.
Coincidently I also took a closer look at this issue a few weeks ago. Here's the original source for that GIF file: Apropos:
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC »

Opera(!) and theGimp open that GIF file successfully. Nothing else I have does.
John
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

No animation

Post by Clo »

—> JohnFredC

• I've not installed Opera, but I've The Gimp; that pic is displayed OK about the colours,
but here the animation doesn't work :|

- Gimp says : "Video image" :?:

¤ Else, I guess that the very original GIF features might be retrieved¦applied,
and that we might get rid of the "fake" 8-BPP limitation…

:mrgreen: KR
Claude
Clo
Last edited by Clo on Tue Sep 05, 2006 2:44 pm, edited 1 time in total.
Old user ON SELECTIVE STRIKE till further notice
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Post by JohnFredC »

Well, I was thinking that the animation was an artifact of the method chosen for displaying more than 256 colors. This is a "special case" GIF, after all.

Opera shows the animation. The Gimp seems to hide it, waiting until the paging is complete to display the final image.

I wonder what the creators of that GIF had in mind for the correct rendering...

The correctness of the final image is self-evident once it successfully appears, but is the animation supposed to show, too?
John
User avatar
XnTriq
Moderator & Librarian
Posts: 6387
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

Hi John & Clo :)
JohnFredC wrote:Opera(!) and theGimp open that GIF file successfully. Nothing else I have does.
Both Jasc Animation Shop 3.11 and Gamani GIF Movie Gear 4.01 have no trouble displaying the file, ...
JohnFredC wrote:I wonder what the creators of that GIF had in mind for the correct rendering...

The correctness of the final image is self-evident once it successfully appears, but is the animation supposed to show, too?
... and both programs open it as an animated GIF.
gamani (GIF Movie Gear – Support » [url=http://www.gamani.com/gmgsup.htm#browser]Browser Issues[/url]) wrote:No software is perfect, and Web browsers are no exception to this rule. Over the past few years as the Web has developed, popular Web browsers have been inadvertently released with some, um, limitations, in the way they handle GIF animations. The result is that a Web designer, working with pages that will be viewed using a variety of browsers, needs to be aware of things that might not work properly on some viewing setups.

[...]

Both NS and IE browsers are not entirely accurate with their timing, especially with very short delays between frames. GIF Movie Gear's playback will often be faster than that of a browser if the delays are shorter than 15/100th of a second. Time for download slows playback even more.
User avatar
Clo
XnThusiast
Posts: 4441
Joined: Sun Oct 17, 2004 4:57 am
Location: Bordeaux, France

Cheese OR dessert !

Post by Clo »

—> XnTriq

:) Hello !
Both Jasc Animation Shop 3.11 and Gamani GIF Movie Gear 4.01 have no trouble displaying the file
• I've not the Jasc soft, but I've MovieGear and it displays the animation, but does NOT show the right colour-depth !
It shows it only as 8-BPP!

- Hence, I get only cheese OR dessert, not both… :D

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