Open manuelodelain opened 9 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).
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?
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
@atomizer There are multiple GIF modules for node: gif, gif-encoder, gif-stream
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...
Could do a prerelease, i.e. 0.2.0-1
Please build the lib and update npm. There are a lot of merged PR since the 0.1.6 version.
Thanks a lot