gifsicle介绍
-O1 Stores only the changed portion of each image. This is the default.
-O2 Also uses transparency to shrink the file further.
-O3 Try several optimization methods (usually slower, sometimes better results).
Gifsicle是用于创建,编辑和获取有关GIF图像和动画的信息的命令行工具。使用gifsicle制作GIF动画很容易
安装
npm --registry https://registry.npm.taobao.org install --global gifsicle
压缩demo
gifsicle --colors 256 -o3 b.gif -o a1.gif
网友评论