collie

command module
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2023 License: BSD-3-Clause Imports: 17 Imported by: 0

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

下载地址

download binary file

如何使用

-n int 是否输出跟源文件相同的名称,0:是,1:不是,如果不是,系统会给出一个随机代码,默认是输出相同的名字

-o string 输出的路径 (default ".")

-q int 输出的照片质量,范围是从1 - 100 (default 75)

-r string 指定的输入路径,路径是指的图片所处的文件夹,文件夹中还有文件夹不影响,系统会找到你指定文件夹中的所以照片,包括文件夹中的文件夹里的图片 (default "./test")

-w int 输出的照片尺寸,0是跟之前一样大,单位是px

如果权限不足,记得改权限 chmod +x ./collie_macos

  • 用 windows 打开windows的命令行这样使用: collie.exe -r [your resource path] -o [your out put path] -q [the quality]

  • Mac和Linux: collie_[linux/macos] -r resource path -o output path

支持 png jpg jpeg and gif ,所有格式都按照jpeg来输出,所以GIF最好别用。因为输出的是第一张图

HERE

项目 介绍
便宜服务器推荐 阿里云梯子服务器:支持支付宝
微信公众号 科科人神
我的社交平台 b站

Stargazers over time

Stargazers over time

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL