注:已内置到gka中,仓库迁移至gka
gka 文件生成模板,一键式生成可自适应缩放 css keyframes 序列帧动画文件(基于svg),并内置优化。
- 开启图片裁剪优化 ✓
- 开启合图优化 ✓
- 开启相同帧图片复用 ✓
- 支持自适应 ✓
$ npm install -g gka # install gka
$ gka <dir> -t svg [options]
$ gka E:\gka-test\img -t svg
Before | After |
---|---|
|
|
gka 文件生成模板,一键式生成可自适应缩放 css keyframes 序列帧动画文件(基于svg),并内置优化。
$ npm install -g gka # install gka
$ gka <dir> -t svg [options]
$ gka E:\gka-test\img -t svg
Before | After |
---|---|
|
|