Monday, 6 July 2020

Re: possible bug: libnsgif does not handle DISPOSE_PREVIOUS correctly

On 04/07/2020 15:25, jcupitt@gmail.com wrote:
> On Fri, 3 Jul 2020 at 12:16, <jcupitt@gmail.com> wrote:
>> Thank you for libnsgif. I think I might have come across a gif that
>> fails to render correctly in libnsgif-0.2.1:
>>
>> https://user-images.githubusercontent.com/580843/86457777-18bd1400-bd1c-11ea-923a-adeed2eba031.gif
>>
>> Frame 6 is DISPOSE_PREVIOUS and should unpaint the tips of the wings.
>> libnsgif does not seem to handle this though, and the tips are left
>> behind.
>
> Hello again, I spent a little time looking at the code.
>
> tldr: I think GIFs which have a COMBINE frame followed by a RESTORE
> frame will not render correctly in libnsgif.

Thanks for this! I hope to have a fix for you to test later today.

Cheers,

--
Michael Drake https://www.codethink.co.uk/
_______________________________________________
netsurf-dev mailing list -- netsurf-dev@netsurf-browser.org
To unsubscribe send an email to netsurf-dev-leave@netsurf-browser.org

No comments:

Post a Comment