gka-tpl-crop

1.2.0 • Public • Published

gkatemplatew

gka-tpl-crop

gka 文件生成模板,一键式生成 css keyframes 序列帧动画文件,并内置优化。

在线示例  示例代码

内置优化

  • 开启空白裁剪优化 ✓
  • 开启相同帧图片复用 ✓

Install

$ npm install -g gka                # install gka 

Usage

$ gka <dir> -t crop [options]

Example

$ gka E:\gka-test\img -t crop
BeforeAfter

./img
├── hello-01.png
├── hello-02.png
├── hello-03.png
├── hello-04.png
├── hello-05.png
└── ...

./gka-img
└── gka.html
└── gka.css
└── img
    ├── hello-01.png
    ├── hello-02.png
    ├── hello-03.png
    ├── hello-04.png
    └── ...

Use GKA

https://github.com/joeyguo/gka

Readme

Keywords

Package Sidebar

Install

npm i gka-tpl-crop

Weekly Downloads

7

Version

1.2.0

License

MIT

Unpacked Size

75.3 kB

Total Files

29

Last publish

Collaborators

  • joeyguo