From 2edda639b2c2b2000a78f560a9366a9f39b5e333 Mon Sep 17 00:00:00 2001 From: James Zern Date: Thu, 23 Nov 2017 23:58:22 -0800 Subject: [PATCH] README: add webpinfo section Change-Id: Iee4a4ecbe562d6154f627ba62524cd1871a06564 --- README | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README b/README index 05f2c16f..9a1cb982 100644 --- a/README +++ b/README @@ -113,8 +113,8 @@ make install CMake: ------ -With CMake, you can compile libwebp, cwebp, dwebp, gif2web, img2webp and the -JS bindings. +With CMake, you can compile libwebp, cwebp, dwebp, gif2web, img2webp, webpinfo +and the JS bindings. Prerequisites: A compiler (e.g., gcc with autotools) and CMake. @@ -367,6 +367,22 @@ Use following options to convert into alternate image formats: -quiet ....... quiet mode, don't print anything -noasm ....... disable all assembly optimizations +WebP file analysis tool: +======================== + +'webpinfo' can be used to print out the chunk level structure and bitstream +header information of WebP files. It can also check if the files are of valid +WebP format. + +Usage: webpinfo [options] in_files +Note: there could be multiple input files; + options must come before input files. +Options: + -quiet ............. Do not show chunk parsing information. + -diag .............. Show parsing error diagnosis. + -summary ........... Show chunk stats summary. + -bitstream_info .... Parse bitstream header. + Visualization tool: ===================