Optimize image[png, jpg, jpeg, svg, gif] command line tool.
- command optiomize; - command alias; - config compress quality. TODO List
Install
install with npm
sudo npm install -g oimg
Usage
options
$ oimg [-l|--list]
# ignore some image file with command --ignore
$ oimg -l --ignore file file file
$ oimg [-c|--compress]
# ignore some image file with command --ignore
$ oimg -c --ignore file file file
$ oimg [-r|--replace]
# ignore some image file with command --ignore
# ignore file name is origin file name
$ oimg -r --ignore file file file