hidefromkgb/gif_load

Transparency not preserved after first frame

orestis-z opened this issue · 6 comments

First, thanks for the awesome work.

I noticed that the transparency is not preserved after the first frame on certain gifs.
In the example below the transparent layer disappears after the first frame.

this ones transparency is even more problematic:

Thanks for the help in advance.

Okay, I see. When the decoder encounters a non-black transparency mark it doesn`t set all of the channels to 0, only the alpha.
Fixed for the C example in c762113. Please check.

Ok, I encountered the issue on the python example, I didn't try the C example. Thanks for checking

Oh well. Shall fix it in the Python version soon.

Fixed.

Both Python and C shall return correct results now. Please verify if that`s so.

Works like charm. Thanks for the support!

(Verified in python version)

OK. Closing as fixed.