Add a man page for webpinfo
BUG=webp:330 Change-Id: I7b02274401c935affa173a49a883a39272b6dcc3
This commit is contained in:
parent
4d7084350e
commit
d63e6f4b23
@ -316,8 +316,10 @@ install(
|
|||||||
)
|
)
|
||||||
|
|
||||||
# Install the man pages.
|
# Install the man pages.
|
||||||
set(MAN_PAGES cwebp.1 dwebp.1 gif2webp.1 img2webp.1 vwebp.1 webpmux.1)
|
set(MAN_PAGES cwebp.1 dwebp.1 gif2webp.1 img2webp.1 vwebp.1 webpmux.1
|
||||||
set(EXEC_BUILDS "CWEBP" "DWEBP" "GIF2WEBP" "IMG2WEBP" "VWEBP" "WEBPMUX")
|
webpinfo.1)
|
||||||
|
set(EXEC_BUILDS "CWEBP" "DWEBP" "GIF2WEBP" "IMG2WEBP" "VWEBP" "WEBPMUX"
|
||||||
|
"WEBPINFO")
|
||||||
list(LENGTH MAN_PAGES MAN_PAGES_LENGTH)
|
list(LENGTH MAN_PAGES MAN_PAGES_LENGTH)
|
||||||
math(EXPR MAN_PAGES_RANGE "${MAN_PAGES_LENGTH} - 1")
|
math(EXPR MAN_PAGES_RANGE "${MAN_PAGES_LENGTH} - 1")
|
||||||
|
|
||||||
|
@ -451,7 +451,7 @@ dist: all
|
|||||||
$(INSTALL) -m644 src/mux/libwebpmux.a $(DESTDIR)/lib
|
$(INSTALL) -m644 src/mux/libwebpmux.a $(DESTDIR)/lib
|
||||||
umask 022; \
|
umask 022; \
|
||||||
for m in man/[cdv]webp.1 man/gif2webp.1 man/webpmux.1 \
|
for m in man/[cdv]webp.1 man/gif2webp.1 man/webpmux.1 \
|
||||||
man/img2webp.1; do \
|
man/img2webp.1 man/webpinfo.1; do \
|
||||||
basenam=$$(basename $$m .1); \
|
basenam=$$(basename $$m .1); \
|
||||||
$(GROFF) -t -e -man -T utf8 $$m \
|
$(GROFF) -t -e -man -T utf8 $$m \
|
||||||
| $(COL) -bx >$(DESTDIR)/doc/$${basenam}.txt; \
|
| $(COL) -bx >$(DESTDIR)/doc/$${basenam}.txt; \
|
||||||
|
@ -8,4 +8,7 @@ endif
|
|||||||
if BUILD_VWEBP
|
if BUILD_VWEBP
|
||||||
man_MANS += vwebp.1
|
man_MANS += vwebp.1
|
||||||
endif
|
endif
|
||||||
|
if BUILD_WEBPINFO
|
||||||
|
man_MANS += webpinfo.1
|
||||||
|
endif
|
||||||
EXTRA_DIST = $(man_MANS)
|
EXTRA_DIST = $(man_MANS)
|
||||||
|
77
man/webpinfo.1
Normal file
77
man/webpinfo.1
Normal file
@ -0,0 +1,77 @@
|
|||||||
|
.\" Hey, EMACS: -*- nroff -*-
|
||||||
|
.TH WEBPINFO 1 "May 08, 2017"
|
||||||
|
.SH NAME
|
||||||
|
webpinfo \- print out the chunk level structure of WebP files
|
||||||
|
along with basic integrity checks.
|
||||||
|
.SH SYNOPSIS
|
||||||
|
.B webpinfo
|
||||||
|
.I OPTIONS
|
||||||
|
.I INPUT
|
||||||
|
.br
|
||||||
|
.B webpinfo [\-h|\-help|\-H|\-longhelp]
|
||||||
|
.br
|
||||||
|
|
||||||
|
.SH DESCRIPTION
|
||||||
|
This manual page documents the
|
||||||
|
.B webpinfo
|
||||||
|
command.
|
||||||
|
.PP
|
||||||
|
\fBwebpinfo\fP 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.
|
||||||
|
|
||||||
|
.SH OPTIONS
|
||||||
|
.TP
|
||||||
|
.B -quiet
|
||||||
|
Do not show chunk parsing information.
|
||||||
|
.TP
|
||||||
|
.B -diag
|
||||||
|
Show parsing error diagnosis.
|
||||||
|
.TP
|
||||||
|
.B -summary
|
||||||
|
Show chunk stats summary.
|
||||||
|
.TP
|
||||||
|
.BI -bitstream_info
|
||||||
|
Parse bitstream header.
|
||||||
|
.TP
|
||||||
|
.B \-h, \-help
|
||||||
|
A short usage summary.
|
||||||
|
.TP
|
||||||
|
.B \-H, \-longhelp
|
||||||
|
Detailed usage instructions.
|
||||||
|
|
||||||
|
.SH INPUT
|
||||||
|
Input files in WebP format. Input files must come last, following
|
||||||
|
options (if any). There can be multiple input files.
|
||||||
|
|
||||||
|
.SH BUGS
|
||||||
|
Please report all bugs to the issue tracker:
|
||||||
|
https://bugs.chromium.org/p/webp
|
||||||
|
.br
|
||||||
|
Patches welcome! See this page to get started:
|
||||||
|
http://www.webmproject.org/code/contribute/submitting\-patches/
|
||||||
|
|
||||||
|
.SH EXAMPLES
|
||||||
|
.br
|
||||||
|
webpinfo \-h
|
||||||
|
.br
|
||||||
|
webpinfo \-diag \-summary input_file.webp
|
||||||
|
.br
|
||||||
|
webpinfo \-bitstream_info input_file_1.webp input_file_2.webp
|
||||||
|
.br
|
||||||
|
webpinfo *.webp
|
||||||
|
|
||||||
|
.SH AUTHORS
|
||||||
|
\fBwebpinfo\fP is a part of libwebp and was written by the WebP team.
|
||||||
|
.br
|
||||||
|
The latest source tree is available at
|
||||||
|
https://chromium.googlesource.com/webm/libwebp
|
||||||
|
.PP
|
||||||
|
This manual page was written by Hui Su <huisu@google.com>,
|
||||||
|
for the Debian project (and may be used by others).
|
||||||
|
|
||||||
|
.SH SEE ALSO
|
||||||
|
.BR webpmux (1)
|
||||||
|
.br
|
||||||
|
Please refer to http://developers.google.com/speed/webp/ for additional
|
||||||
|
information.
|
Loading…
Reference in New Issue
Block a user