diff --git a/README b/README index d96f01ad..d926f625 100644 --- a/README +++ b/README @@ -328,6 +328,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: =============