Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zcong1993/tinyimg
https://github.com/zcong1993/tinyimg
cli golang tiny-image tiny-jpg tiny-png
Last synced: about 23 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/zcong1993/tinyimg
- Owner: zcong1993
- License: mit
- Created: 2017-11-18T18:04:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2017-11-19T13:40:44.000Z (almost 7 years ago)
- Last Synced: 2024-06-19T15:13:13.712Z (5 months ago)
- Topics: cli, golang, tiny-image, tiny-jpg, tiny-png
- Language: Go
- Size: 3.23 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tinyimg
[![Go Report Card](https://goreportcard.com/badge/github.com/zcong1993/tinyimg)](https://goreportcard.com/report/github.com/zcong1993/tinyimg)
[![CircleCI](https://circleci.com/gh/zcong1993/tinyimg/tree/master.svg?style=shield)](https://circleci.com/gh/zcong1993/tinyimg/tree/master)> image compress cli
## [Performance](https://github.com/zcong1993/tinyimg/wiki/Performance)
## Install
### install with go
```sh
$ go get -u -v github.com/zcong1993/tinyimg
# will spend several minutes cause lib github.com/discordapp/lilliput is a bit large
```### build yourself
```sh
$ 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
```sh
$ tinyimg [options] source files...
# example
$ tinyimg -q=80 -o=outdir ./*.jpg
# show help
$ tinyimg -h
# show version
$ tinyimg -v
```## License
MIT © zcong1993