PictView: GIF display problem

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
JohnFredC
Posts: 162
Joined: 10 Dec 2005, 15:44

PictView: GIF display problem

Post by JohnFredC »

In another Internet forum I encountered a discussion of a problematic GIF image.

The GIF in question is this one: http://phil.ipal.org/tc217.gif

PictView shows it incorrectly as does nearly every tool I have.

The only tools I have found so far that show it correctly are Opera(!) and theGIMP.
User avatar
SvA
Posts: 483
Joined: 29 Mar 2006, 02:41
Location: DE

Post by SvA »

So, does the file comply to the specs?

What's your definition of correct in regard to displaying this image. Why do you call the rendering of the mentioned tools as correct and the rendering of others incorrect?
User avatar
Mem
Posts: 202
Joined: 08 Mar 2006, 15:07
Contact:

Post by Mem »

SvA - I saw that example in article on root.cz, it's really standard GIF but almost every viewer shows it bad (with delay between frames etc.)

And there is also thread in Czech forum about this topic - http://forum.altap.cz/viewtopic.php?t=1 ... hlight=gif
omega
Posts: 196
Joined: 09 Dec 2005, 19:21

Post by omega »

Irfanview even showed a red background with it. Plus the animation of the gif seems to repeat itself in Irfanview and in Pictview.
It looks like IE and FF displays the gif correctly.
User avatar
Mem
Posts: 202
Joined: 08 Mar 2006, 15:07
Contact:

Post by Mem »

omega: My FF does not display that GIF correctly, because AFAIK there is NO ANIMATION, it should display the whole high-color image at once (and my FF does it slowly block by block)
JohnFredC
Posts: 162
Joined: 10 Dec 2005, 15:44

Post by JohnFredC »

Yeh... I think maybe the animation is just an artifact of the technique used to force the GIF to display the 65k colors. Opera shows the animation to the final image, which I'm now thinking is wrong.

GIMP2 just shows the final color ramp, albeit with a hesitation while it (apparently) performs the animation "behind the scenes"...
Mouse-centric, Registered
omega
Posts: 196
Joined: 09 Dec 2005, 19:21

Post by omega »

If the gif should not show any animation at all and all the viewers does, then what tool was used to create this picture? There should be at least 1 program which shows the file correctly otherwise you can't say the other viewers and browsers display the image in a different way.
User avatar
zarevak
Plugin Developer
Plugin Developer
Posts: 789
Joined: 04 Feb 2006, 16:49
Location: Prague, Czech Republic

Post by zarevak »

The GIF picture itself could be made manualy in some HEX editor. Even if none of the well known viewers shows this picture right doesn't mean, that the picture is bad. AFAIK the picture is made according to basic GIF89a specification without the NETSCAPE animation extension (this extension enables setting delay between displaying the frames - without it, all frames should be displayed at the same time!)

The question is: Should PictView display the picture right (against the specification) or wrong = same way as it is displayed in other viewers?
- if PictView displays it right, it can confuse some users, that will say: hey, this picture has lost its animation.
- if the PictView continues to display the picture wrong, it harms the specification. It's kind of "quirks mode" in browsers (mode to "correctly" show web pages made for non-standard compliant IE4.0)

(all information are based on Czech article: Graphics format GIF on root.cz)
Jan Patera
Plugin Developer
Plugin Developer
Posts: 707
Joined: 08 Dec 2005, 14:33
Location: Prague, Czech Republic
Contact:

Post by Jan Patera »

zarevak wrote:The question is: Should PictView display the picture right (against the specification) or wrong = same way as it is displayed in other viewers?
- if PictView displays it right, it can confuse some users, that will say: hey, this picture has lost its animation.
- if the PictView continues to display the picture wrong, it harms the specification. It's kind of "quirks mode" in browsers (mode to "correctly" show web pages made for non-standard compliant IE4.0)
You are reading my mind. We are aware of this issue and will address it in the next release of Salamander (whatever it will be called ;-)) Because of the confusion of the users we will keep animating this particular image. However some other images that do not have GCE chunks will no longer display animated (for samples please see the aforementioned Czech-language article).
Post Reply