jnordberg / gif.js

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

build + npm update #48

Open manuelodelain opened 9 years ago

manuelodelain commented 9 years ago

Please build the lib and update npm. There are a lot of merged PR since the 0.1.6 version.

Thanks a lot

laurence-myers commented 8 years ago

I think this repo is abandoned, it might need a fork to publish a maintained version?

The PRs merged since then are 22 (typo in README), 26 (dithering), and 27 (global palette).

atomizer commented 8 years ago

The npm module is utterly useless for Node.js. Even if I compile .coffee files, it uses stuff like document, navigator, etc. Are there any forks that fix that?

jnordberg commented 8 years ago

There's a major performance degradation that was introduced with #26 and #27 that I was planning to resolve before updating... but I haven't found the time to do it yet (and it's not high on my priority list).

If anyone feels like stepping up as a maintainer that would be awesome!

@atomizer it was never intended to be used in node. The npm module is for browserify

1j01 commented 8 years ago

@atomizer There are multiple GIF modules for node: gif, gif-encoder, gif-stream

edwina77 commented 8 years ago

the performance degredation is in gifencoder.analyzepixels. the change to remove color cacheing actually slows it down NOT speeds it up. doing a 'findclosest' call for the var 'index' is slower on all my runs than the previous 'lookupRGB' call on the NeuQuant object...

1j01 commented 8 years ago

Could do a prerelease, i.e. 0.2.0-1