Comments (4)
Have you checked the return code from decode()? It may be because one or more of the frames uses the interlaced mode. I don't support it to not have to require the MCU to have lots of RAM. Please paste 1 failing image in this chat and I'll take a look.
from animatedgif.
Here's two GIFs that I attempted to debug. I ran a bunch of GIFs through GifDecoder with debug flags turned on and the only pattern I found in the debug output is that all working GIFs had transparency enabled, and these two non-working had transparency disabled. I found with AnimatedGIF these draw to the screen, but only black pixels. (They're not interlaced)
from animatedgif.
I just tested this on an ESP32 board and both GIF files you shared play perfectly.
It sounds like your drawing code is doing something wrong.
from animatedgif.
Sure enough, it was a bug in my drawing code which only showed up in GIFs without transparency, sorry to waste your time!
from animatedgif.
Related Issues (20)
- In ESP32_LEDMatrix_I2S.ino iWidth is not intialized. HOT 1
- Issue using AnimatedGIFPanel HOT 2
- Sketch is too big HOT 1
- a example for tft_espi sd gif HOT 15
- Question, How better write text over the GIF animation ? HOT 4
- Stop a GIF mid playing HOT 1
- How to display text on GIF for every frame HOT 2
- GIF not rendering properly HOT 1
- GIF Encoder HOT 3
- Unable to loop: GIF_EMTY_FRAME after call to reset() HOT 1
- The ucLZW buffer access violaton HOT 6
- What happens when there is no palette at all? HOT 1
- Ways to improve speed on esp32-s3 HOT 38
- Suggestion: gain a little more performance by engaging the non-aligned memory access. HOT 3
- Playing a custom GIF from memory HOT 1
- GIFs look scrambled on 72x40 OLED Display HOT 4
- Memory pointer GIFFILE::pData not const HOT 4
- Problem with shifting the image output point with tft_eSPI library HOT 1
- Possibility of change GIF speed HOT 2
- turbot_t_qt_example is missing allocFrameBuf() call HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from animatedgif.