Skip to content

mocukie/webpdeep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebPDeep

A webp batch encoding tool.

Feature

  • Support jpeg/png/bmp/tiff as input
  • Copy ICCP/XMP/EXIF (png only)
  • Copy file mtime/atime
  • Using zip as a directory
  • Recursive conversion

Usage

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

Install

Prerequisite

  • gcc
  • libwebp 1.1.0
go get -ldflags="-extldflags -static" github.com/mocukie/webpdeep/cmd/webpdeep

License

Apache-2.0 License

Releases

No releases published

Packages

No packages published

Languages