webpdeep

module
v0.0.0-...-fc135a5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 10, 2021 License: Apache-2.0

README

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

Directories

Path Synopsis
cmd
internal
iox
pkg

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL