4.0.0 • Published 10 months ago

image-shear v4.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Image Shear

修剪图片、序列帧等资源。

安装

rem 集成到自己工具里
npm install image-shear
rem 以全局命令使用
npm install image-shear -g

全局命令示例

# 查看所有命令
image-shear -h
# 输出如下:
<< BLOCK
Usage: image-shear [options] [command]

Options:
  -V, --version                                      output the version number
  -i --input <file|directory>                        输入路径
  -o --output [file|directory]                       输出路径
  -each --each [deep]                                遍历目录:默认遍历当前目录,设值 deep 遍历所有子目录
  -ll --log-level [debug|info|notice|warning|error]
  -h, --help                                         display help for command

Commands:
  compress <quality>                                 压缩图片
  split [options]                                    切割图片
  webp2frames                                        webp动画转序列帧
  help [command]                                     display help for command
BLOCK