Friday, 3 July 2020

possible bug: libnsgif does not handle DISPOSE_PREVIOUS correctly

Hello all,

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. Unless I'm not calling libnsgif correctly.

Here's the original issue for context:

https://github.com/libvips/libvips/issues/1084

And our test libnsgif loader:

https://github.com/libvips/libvips/blob/add-libnsgif/libvips/foreign/gifnsload.c

John
_______________________________________________
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