0.1.2 • Published 5 years ago

img-webp v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

img-webp CLI

npm npm GitHub last commit (branch)

The img-webp CLI converts all .png and .jpg's in the directory into the .webp format. At this time there can only be passed two options: --quality(0-100) and if you want to format with lossless compression (--lossless/-l), lossy compression is used by default if the lossless option is not passed.

Instalation

$ npm i -g img-webp

Usage example

Format all images to lossy compressed webp images with quality of 80.

$ img-webp -q 80

Format all images to lossless compressed webp images.

$ img-webp -l

Get all options

$ img-webp