It's weird that this pull request was never accepted by gifsicle.
Also check out his other high-quality GIF encoder project https://gif.ski/
Older HN submission item?id=15730018
I like this part on the end
> App Store terms and conditions forbid distribution of Free Software that grants users freedom to use the program any way they want. You're not allowed to distribute this software with DRM applied to it.
Basically the essence of the GPL in one short paragraph.
The core idea here is really interesting; adapting a lossless compression system in a heuristic approximate mode. Instead of looking backwards for identical subsequences, look for approximate subsequences.
Unlike tools like pngquant, which use quantization to create palletized images, this directly hooks into the compression stage. I haven't looked at the source yet, but this is an idea that I've been thinking about recently, especially as regarding the somewhat obscure farbfeld  image format, which relies entirely on external compression.
Zlib in particular is "easy" to do this for, or at least an approach is clear, in which you can build up a big prefix tree and then "massage" it by combining subtrees. There are a number of different ways that you could approach this heuristically as well.
Bzip is a different beast -- the Burrows–Wheeler transform is sensitive to changes in the byte stream, so it's not easy to poke a byte to make it similar to another byte and then get the delta on the transform itself.
Huh, I will have to play with this and see how it compares with the naive interframe optimizer I’ve been hacking on for years.
You can do something similar with ffmpeg’s palettegen/paletteuse or imagemagick’s fuzz option. Generally speaking, fuzz/IM does well for recompressing GIFs, especially high-noise or static background. If you still have the source video, nothing can beat ffmpeg though.
(Those options usually require a bit of tweaking though. I can’t compare these at work, might give it a go later.)
Gif needs to be EOLd - there is no need to use it as most browsers support modern alternatives like mp4 with real video codecs. Even safari tech preview can now play these inlined.
I also encounter the same problem. thanks for your answer. https://www.hotmailsigninguide.com