Skip to content

zcong1993/tinyimg

Repository files navigation

tinyimg

Go Report Card CircleCI

image compress cli

Install

install with go

$ go get -u -v github.com/zcong1993/tinyimg
# will spend several minutes cause lib github.com/discordapp/lilliput is a bit large

build yourself

$ git clone https://github.com/zcong1993/tinyimg.git
$ cd tinyimg
# install deps, use go dep
$ dep ensure
# or normal
$ go get -v ./...
# build
$ chmod +x ./build.sh
$ make build
# copy to any folder in your $PATH
$ cp ./bin/tinyimg $GOPATH/bin/

Usage

$ tinyimg [options] source files...
# example
$ tinyimg -q=80 -o=outdir ./*.jpg
# show help
$ tinyimg -h
# show version
$ tinyimg -v

License

MIT © zcong1993

Releases

No releases published

Packages

No packages published