CLI to convert specified jpg/png/gif format image to jpg/png/gif format
--help, -h show help (default: false)
--version, -v print the version (default: false)
Install Homebrew if you have not yet
$ brew tap kota-yata/kec
$ brew install kec
$ kec [source image file path] [distribution path]
// example
$ kec /Users/mike/Download/src.png /Users/mike/Download/dist/dist.jpg
- Both URI and relative are OK
- Since image format will be detected automatically, you don't need to specify it.
$ git clone [email protected]:kota-yata/kec.git
before creating PR
$ go build