1.0.2 • Published 6 years ago

gifzip v1.0.2

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

Sample:

//you can also npm install gifzip and  then require("gifzip")
var util = require("./index");

//select a gif to unpack, the first argument could be filename or url
util.unpack("./some.gif", 160, 120, (folder,w,h)=>{ 
                        //after unpacked.
                        //pack the gif back with frame: 60 and the origin width/height.
                        //write the gif to any stream: express response or fs.createWriteStream(filename)
                        util.packStream(folder, anyStream, 60, w,h);
                        //delete the temp folder used by unpacking
                        exec("rm -rf "+__dirname+"/"+folder);
                });
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago