fix some 'man' typos

This commit is contained in:
Pascal Massimino 2011-04-18 18:50:34 -07:00
parent d3f3bdda7f
commit 8aa50efd38
2 changed files with 7 additions and 6 deletions

View File

@ -11,7 +11,7 @@ This manual page documents the
.B cwebp .B cwebp
command. command.
.PP .PP
\fBcwebp\fP compresses image using the WebP format. \fBcwebp\fP compresses an image using the WebP format.
Input format can be either PNG, JPEG, or raw Y'CbCr samples. Input format can be either PNG, JPEG, or raw Y'CbCr samples.
When using PNG, the transparency information (alpha channel) is currently When using PNG, the transparency information (alpha channel) is currently
discarded. discarded.
@ -32,8 +32,8 @@ A summary of all the possible options.
Print the version number (as major.minor.revision) and exit. Print the version number (as major.minor.revision) and exit.
.TP .TP
.B \-q float .B \-q float
Specify the compression factor between 0 and 100. Small factor Specify the compression factor between 0 and 100. A small factor
produce smaller file with lower quality. Best quality is achieved produces a smaller file with lower quality. Best quality is achieved
using a value of 100. The default is 75. using a value of 100. The default is 75.
.TP .TP
.B \-f int .B \-f int
@ -47,7 +47,7 @@ appear. Typical values are usually in the range of 20 to 50.
Specify a set of pre-defined parameters to suit a particular type of Specify a set of pre-defined parameters to suit a particular type of
source material. Possible values are: \fBdefault\fP, \fBphoto\fP, source material. Possible values are: \fBdefault\fP, \fBphoto\fP,
\fBpicture\fP, \fBdrawing\fP, \fBicon\fP, \fBtext\fP. Since \fBpicture\fP, \fBdrawing\fP, \fBicon\fP, \fBtext\fP. Since
\fB\-preset\fP overwrites the other parameter's values (except the \fB\-preset\fP overwrites the other parameters' values (except the
\fB\-q\fP one), this option should preferably appear first in the \fB\-q\fP one), this option should preferably appear first in the
order of the arguments. order of the arguments.
.TP .TP
@ -104,6 +104,7 @@ options \fB\-size\fP or \fB\-psnr\fP. Maximum value is 10.
Crop the source to a rectangle with top-left corner at coordinates Crop the source to a rectangle with top-left corner at coordinates
(x_position, y_position) and size width x height. This cropping area must (x_position, y_position) and size width x height. This cropping area must
be fully contained within the source rectangle. be fully contained within the source rectangle.
.TP
.B \-s width height .B \-s width height
Specify that the input file actually consists of raw Y'CbCr samples following Specify that the input file actually consists of raw Y'CbCr samples following
the ITU-R BT.601 recommendation, in 4:2:0 linear format. the ITU-R BT.601 recommendation, in 4:2:0 linear format.

View File

@ -1,7 +1,7 @@
.\" Hey, EMACS: -*- nroff -*- .\" Hey, EMACS: -*- nroff -*-
.TH DWEBP 1 "March 28, 2011" .TH DWEBP 1 "March 28, 2011"
.SH NAME .SH NAME
dwebp \- compress a WebP file to an image file dwebp \- decompress a WebP file to an image file
.SH SYNOPSIS .SH SYNOPSIS
.B dwebp .B dwebp
.RI [ options ] " input_file.webp .RI [ options ] " input_file.webp
@ -11,7 +11,7 @@ This manual page documents the
.B dwebp .B dwebp
command. command.
.PP .PP
\fBdwebp\fP decompresses WebP files into PNG or PPM images. \fBdwebp\fP decompresses WebP files into PNG, PPM or PGM images.
.SH OPTIONS .SH OPTIONS
The basic options are: The basic options are:
.TP .TP