From 4af19007a489109ac13bb4dc3121143f26045387 Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 17 Dec 2013 21:56:14 -0800 Subject: [PATCH] README: add a section on gif2webp Change-Id: Ie701da16223df7482f7b017150242ba2d381d0b5 --- README | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/README b/README index c1bdc6a2..38248cd0 100644 --- a/README +++ b/README @@ -324,6 +324,43 @@ $ make -f makefile.unix examples/vwebp > nmake /f Makefile.vc CFG=release-static \ ../obj/x64/release-static/bin/vwebp.exe +Animated GIF conversion: +======================== +Animated GIF files can be converted to WebP files with animation using the +gif2webp utility available under examples/. The files can then be viewed using +vwebp. + +Usage: + gif2webp [options] gif_file -o webp_file +options: + -h / -help ............ this help + -lossy ................. Encode image using lossy compression. + -mixed ................. For each frame in the image, pick lossy + or lossless compression heuristically. + -q ............. quality factor (0:small..100:big) + -m ............... compression method (0=fast, 6=slowest) + -kmin ............ Min distance between key frames + -kmax ............ Max distance between key frames + -f ............... filter strength (0=off..100) + -metadata ..... comma separated list of metadata to + copy from the input to the output if present. + Valid values: all, none, icc, xmp (default) + -mt .................... use multi-threading if available + + -version ............... print version number and exit. + -v ..................... verbose. + -quiet ................. don't print anything. + +Building: +--------- +With the libgif development files installed, gif2webp can be built using +makefile.unix: +$ make -f makefile.unix examples/gif2webp + +or using autoconf: +$ ./configure --enable-everything +$ make + Encoding API: =============