轻量级图片尺寸修改及压缩
安装
npm install o-image-process -g
使用方法
oip
配置文档
-s 压缩比例,默认为0.5
-e 处理后的文件名追加内容,默认为@small
-f 图片源文件夹,默认为images
-o 图片输出文件夹,默认为output
目前支持的图片格式:jpg、jpeg、png.
npm install o-image-process -g
oip
-s 压缩比例,默认为0.5
-e 处理后的文件名追加内容,默认为@small
-f 图片源文件夹,默认为images
-o 图片输出文件夹,默认为output
目前支持的图片格式:jpg、jpeg、png.
npm i o-image-process
0
1.0.6
ISC