Giter Site home page Giter Site logo

Comments (7)

embedded-creations avatar embedded-creations commented on August 16, 2024

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.

Mad182 avatar Mad182 commented on August 16, 2024

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.

split

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.

Bryce-Toma avatar Bryce-Toma commented on August 16, 2024

@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.

Bryce-Toma avatar Bryce-Toma commented on August 16, 2024

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.

embedded-creations avatar embedded-creations commented on August 16, 2024

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.

Bryce-Toma avatar Bryce-Toma commented on August 16, 2024

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.
splitter_ezgiff

from animatedgifs.

Bryce-Toma avatar Bryce-Toma commented on August 16, 2024

I was able to fix the issues, by applying two optimizations to the GIF:

  1. coalesce (to unoptimize the image and fix portion display)
  2. single color table (fix color inversion)
    The GIF now runs perfectly! Thank you, both, for your help! :)

from animatedgifs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.