hidefromkgb / gif_load

A slim, fast and header-only GIF loader written in C
80 stars 6 forks source link

Previous frames wrongly preserved #6

Closed orestis-z closed 5 years ago

orestis-z commented 5 years ago

Hello,

In the example below previous frames are wrongly preserved in subsequent frames:

zu4r

=>

spritesheet

I tested it in the python version. Thanks for looking into it.

Eagl61 commented 5 years ago

Please, tell me, how can i get a picture/frame and display it on the screen? Thanks.

hidefromkgb commented 5 years ago

@Eagl61 Please file a new ticket, since in this one your question is off-topic.

hidefromkgb commented 5 years ago

@zamponotiropita, investigating. Damn, I remember having tested both frontends on the GIFLIB example suite, why does this keep happening? T__T

hidefromkgb commented 5 years ago

A-ha. So finally I`ve found it — a GIF that uses GIF_PREV as its main blending mode. First time in 2++ years! Thank you @zamponotiropita for this sample. Fixing.

hidefromkgb commented 5 years ago

Fixed in 394d79a5, please verify.

hidefromkgb commented 5 years ago

m5np Just in case: another GIF_PREV image, taken from here.

orestis-z commented 5 years ago

@hidefromkgb thanks for the update! I was away from keyboard the recent dates. Checking it right now

orestis-z commented 5 years ago

@hidefromkgb works like a charm, tested with python

hidefromkgb commented 5 years ago

Yay! Closing as fixed.