Optimize image[png, jpg, jpeg, svg, gif] command line tool.
TODO List
overflow 8
- think about next.
- optimize workflow.
Install
install with npm
sudo npm install -g oimg
Usage
options
$ oimg list
# ignore some image file with command --ignore
$ oimg list -i file file file
# use -p option to specific folder path, absolute or relative
$ oimg list -p ../images
$ oimg compress
# ignore some image file with command --ignore
$ oimg compress -i file file file
# use -q option to specific compress quality
$ oimg compress -q [1-10]
$ oimg replace
# ignore some image file with command --ignore
# ignore file name is origin file name
$ oimg replace -i file file file
$ oimg remove