jnordberg / gif.js

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

option to scale frames at encoder level #2

Closed leeoniya closed 11 years ago

leeoniya commented 11 years ago

this could allow for much fast processing of frames since the encoder doesn't need to analyze pre-scaled-up images. nearest-neighbor upscale would be good for pixel art anims.

jnordberg commented 11 years ago

I think this is out of scope for this library. Making the color palette and lookup customizable as discussed in #1 would allow you to implement something like this pretty easily