Comments (7)
There’s probably some bugs in the library that need to get tracked down and fixed, but in the meantime to try and get your gif working, go to Ezgif.com and run it through something that doesn’t significantly change the Gif but reencodes it
from animatedgifs.
The GIF is optimized for smaller file size by making some unchanged sections of consecutive frames transparent.
You can see this if you split the GIF to frames without redrawing them.
You can use https://ezgif.com/optimize with optimization method Coalesce (unoptimize) as a workaround. Or run ImageMagick's convert command with -coalesce option in command line.
from animatedgifs.
@Mad182 and @embedded-creations,
Thanks guys for your prompt replies! Those are some great ideas! Since I made the GIF in a separate program, I didn't even consider running it through ezgif.com. It's strange that the program that I was using optimized it though to make the file smaller by removing unchanged animations. Thank you, I didn't know "coalesce" was a workaround. And your solution fixed my problem! :D
from animatedgifs.
I ran the GIF through ezgif.com and applied "coalesce" as suggested by Mad182, and it did fix the portions of the frames that were not previously displaying. However, now some colors are being inverted for a very brief second or between transitional frames.
Blue -> Yellow. Yellow -> Blue. Orange -> Green, etc.
Attached is a link to a video of what I'm experiencing.
https://drive.google.com/file/d/12rJEzxaQoCuA9VdgSyawxCRWsy70d3le/view?usp=sharing
from animatedgifs.
Try some other modes, not necessarily coalesce. I've noticed that not all modes in ezgif work properly with the AnimatedGIFs sketch.
Do the inverted colors show up when viewing the GIF on your computer?
from animatedgifs.
I'll do some experimenting! Thanks, for your observation and suggestion!
No, the inverted colors do not show up when viewing the GIF on my computer.
By running the GIF through the splitter via ezgif.com, I wasn't able to locate the color inversion either.
from animatedgifs.
I was able to fix the issues, by applying two optimizations to the GIF:
- coalesce (to unoptimize the image and fix portion display)
- single color table (fix color inversion)
The GIF now runs perfectly! Thank you, both, for your help! :)
from animatedgifs.
Related Issues (20)
- Use malloc for ESP32 data buffers to avoid issues HOT 1
- librarification HOT 4
- How can I connect a button to Teensy 3.2? HOT 3
- Error opening GIF file HOT 9
- Unhandled Exception HOT 10
- Questions HOT 1
- Wrong Colors for all gifs HOT 2
- Improve calculation of frame rate delay
- Gifs display as mirror not full screen HOT 1
- Gif only playing first 10 sec. HOT 2
- Keep playing GIF until if it has started before DISPLAY_TIME_SECONDS has been reached?
- Allow for GIFs with transparency to be displayed over background with content
- GIF discoloration near maximum brightness HOT 1
- instead of displaying the gif i only get a blue/white flash HOT 9
- what pin is matrix on???? data pin for 32x32 matrix cheers HOT 2
- Gif Decoding HOT 1
- compiling fatal error HOT 8
- Only getting blank screen HOT 5
- Colors are different when played on the Display HOT 9
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 animatedgifs.