Picture processing tools like compressing pictures, adding watermarks, etc ,it support batch processing.
Learn more: shgopher
Features
-
🚄 Fast: leveraging go's high concurrency capabilities, this tool has unparalleled speed.
-
🚲 Easy: you just need install it to the terminal and you can get started quickly.
How to use
use go
collie -r -o - w -q
-r
the resource photos dir path-o
the output dir path-w
the result photos' width ,or you can set 0,you will get the same width with the old one.-q
the quality of the output photos from 20 to 100.
like:
// add "gopath/bin" to PATH.
go get -u github.com/googege/collie
//
collie -r /Users/googege/Desktop/test -o /Users/googege/Desktop/app -w 0 -q 30
use binary file
when you download the binary file ,do not forget
chmod +x ./collie_macos
-
when you use windows you should open windows command and use
collie.exe -r [your resource path] -o [your out put path] -q [the quality]
-
in mac or linux open your bash or zsh command, use
collie_[linux/macos] -r resource path -o output path
suport png jpg jpeg and gif ,and all of the output is jpeg
HERE
项目 | 介绍 |
---|---|
便宜服务器推荐 | 阿里云,梯子服务器:支持支付宝 |
微信公众号 | 科科人神 |
我的社交平台 | b站 |