POV-Ray : Newsgroups : povray.bugreports : GIF interlaced are not properly recognized : Re: GIF interlaced are not properly recognized Server Time
26 Sep 2023 21:38:41 EDT (-0400)
  Re: GIF interlaced are not properly recognized  
From: Le Forgeron
Date: 3 Mar 2020 14:50:59
Message: <5e5eb523$1@news.povray.org>
Le 03/03/2020 à 07:04, GioSeregni a écrit :
> Hi all.
> I went crazy with the code because with "ONCE" activated I kept seeing GIF
> images strechted and repeated 4 times.
> The same images, which I hadn't saved recently, were regular.
> Then I understand, now Irfanview has the INTERLACED option by default, but this
> is not recognized and the decoding of the image is wrong.
> Regards
> G.

Well, the problem should be handled in povray,
since FS#314, but seems the correction did not make it in the official
code. (not the 3.7 stable anyway)

But it is already fixed on the official master.

For the curious, in source/base/image/gif.cpp, the check for interlaced
gif should look at buffer[8] and not buffer[9] (for & 0x40)

Now, you won't be happy with the correction either, because interlaced
gif are not supported but you will get an interruption at parse time
instead of rendering (so it will save you time).

Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.