0.1.0 • Published 7 years ago
@woolson/oimg v0.1.0
Optimize imagepng, jpg, jpeg, svg, gif command line tool.
overflow 8
- think about next.
- optimize workflow.
install with npm
sudo npm install -g oimg
options
list all images, run:
$ 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
compress images, run:
$ 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]
use compress images replace origin images, run:
$ oimg replace
# ignore some image file with command --ignore
# ignore file name is origin file name
$ oimg replace -i file file file
remove generated files if result is not ideal.
$ oimg remove
0.1.0
7 years ago