# collie **Repository Path**: shgopher/collie ## Basic Information - **Project Name**: collie - **Description**: Batch compress photos, written in GO. 高性能批量图片压缩工具 - **Primary Language**: Go - **License**: BSD-3-Clause - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2020-09-10 - **Last Updated**: 2021-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

github.com/googege/collie

视频演示 | Video presentation

Picture processing tools like compressing pictures, adding watermarks, etc ,it support batch processing.

collie golang GoDoc license

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 ```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: ```go // 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 [download binary file](https://github.com/shgopher/collie/releases) > 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 |项目|介绍| |:---:|:---:| |对我的赞助|![p](https://raw.githubusercontent.com/basicExploration/Demos/master/donate.png)| |便宜服务器推荐|[阿里云](https://www.aliyun.com/minisite/goods?userCode=ol87kpmz),[梯子服务器](https://app.cloudcone.com/?ref=2525):支持支付宝| |微信公众号|![p](https://raw.githubusercontent.com/basicExploration/Demos/master/pluspro.png)| |知识讨论微信群|![p](https://raw.githubusercontent.com/basicExploration/Demos/master/joinMyGroup.png)| |我的社交平台|[b站](https://space.bilibili.com/23170151),[YouTube](https://www.youtube.com/channel/UCM_-pFgD_HZDGD0yxfzguRQ?view_as=subscriber),[微博](https://weibo.com/imgoogege),抖音:googege| ## Stargazers over time [![Stargazers over time](https://starchart.cc/googege/collie.svg)](https://starchart.cc/googege/collie)