jnordberg / gif.js

JavaScript GIF encoding library
http://jnordberg.github.io/gif.js/
MIT License
4.74k stars 668 forks source link

The generated git is too large #98

Closed yh4922 closed 2 years ago

yh4922 commented 5 years ago

The same gif using Photoshop to generate, quality will be much better, the size is much smaller, there is a solution?

cuixiping commented 3 years ago

To generate smaller size file, you should modify LZWEncoder.js and NeuQuant.js a lot. I tried and reduced about 50% size, but still larger than all image processing softwares.

ChangMM commented 2 years ago

@cuixiping Could you please share the way how you optimize the LZWEncoder.js and NeuQuant.js?