A webp batch encoding tool.
- Support jpeg/png/bmp/tiff as input
- Copy ICCP/XMP/EXIF (png only)
- Copy file mtime/atime
- Using zip as a directory
- Recursive conversion
webpdeep [options] /path/to/image/or/archive/or/dir -o out/file/or/dir
Single image mode
webpdeep --lossless -q 75 image.png [-o image.webp]
Single zip/folder mode
webpdeep --lossless -q 75 -p "*.png|*.bmp" in.zip -o out.zip
webpdeep --lossless -q 75 -p "*.png|*.bmp" ./in -o ./out
Recursive directory mode
webpdeep -r --lossless -q 75 -p "*.png|*.bmp" ./in -o ./out
More information see --help
option
Prerequisite
- gcc
- libwebp 1.1.0
go get -ldflags="-extldflags -static" github.com/mocukie/webpdeep/cmd/webpdeep