GithubHelp home page GithubHelp logo

driphub / collie Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shgopher/collie

0.0 2.0 0.0 369 KB

Batch compress photos, written in GO. 高性能批量图片压缩工具

License: BSD 3-Clause "New" or "Revised" License

Go 100.00%

collie's Introduction

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

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

download 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站

Stargazers over time

Stargazers over time

collie's People

Contributors

shgopher avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.