-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"LZW table token overflows the frame" is reported #29
Comments
Hi @kisvegabor, thanks for reporting this. After looking into it a bit I haven't found the root cause yet. Here's my progress so far. The error "LZW table token overflows the frame" is triggered when a particular frame in the GIF seems to contain data for more pixels than expected based on the width and height of that frame. Each LZW token read is decompressed into one or more pixels. Inside the function I've tested the GIF above with gifdec using the example SDL2 GIF viewer and no fatal error occurs. There are some visible issues with transparency and background color that I believe are due to an unrelated bug in gifdec (I'll be working on that as well). Adding some My next step would be debugging this issue in LVGL itself but I'll have to learn the basics of building and running a minimal LVGL program. :) |
Hi @lecram, Thank you so much looking into it. It's great that the issue doesn't happen in the upstream gifdec version. Yes, we have changed the upstream version a little for better integration with LVGL. It'd be awesome, if you could try the LVGL version too. 🙏 Let me know if you need any help from our side. I wonder if you would be open to update |
What is the progress of this issue? :) |
We are using your fantastic library in LVGL, however with a specific gif we get "LZW table token overflows the frame" errors.
I've tried reconverting it on ezgif.com but it didn't help. Do you have any idea what could be the problem?
The gif that we are testing with:
The text was updated successfully, but these errors were encountered: