Merged into Gifsicle!
To use:
./gifsicle -O3 --lossy=80 -o lossy-compressed.gif input.gif
Adjust --lossy
argument to suit quality (30 is very light compression, 200 is heavy).
1.2MB (was 1.9MB, original 3.3MB)
To use:
./gifsicle --lossy=80 -o lossy-compressed.gif input.gif
Adjust --lossy
argument to suit quality (30 is very light compression, 200 is heavy).
It works best if the input image/anim is high quality and doesn't have heavy dithering (lossy compression will add its own dithering).
Big thanks to Nico Bergemann for finding the bug that was stopping this release.
Warning: please verify that the animation plays fine in Firefox. The program may sometimes generate corrupted files, but not all browsers verify that files are valid.
Warning: there's a bug in the encoder that may cause invalid GIFs to be produced.