cwebp man page: meaning of '-q' for lossy/lossless

Change-Id: I00b1e6a4f35c6c191072b3c30077166e7b143f56
This commit is contained in:
Urvang Joshi 2012-11-15 15:57:50 -08:00
parent 79efa1d006
commit d1edf697b2

View File

@ -1,5 +1,5 @@
.\" Hey, EMACS: -*- nroff -*- .\" Hey, EMACS: -*- nroff -*-
.TH CWEBP 1 "July 19, 2012" .TH CWEBP 1 "November 15, 2012"
.SH NAME .SH NAME
cwebp \- compress an image file to a WebP file cwebp \- compress an image file to a WebP file
.SH SYNOPSIS .SH SYNOPSIS
@ -30,9 +30,15 @@ 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 for RGB channels between 0 and 100. A small Specify the compression factor for RGB channels between 0 and 100. The default
factor produces a smaller file with lower quality. Best quality is achieved is 75.
using a value of 100. The default is 75. .br
In case of lossy compression (default), a small factor produces a smaller file
with lower quality. Best quality is achieved by using a value of 100.
.br
In case of lossless compression (specified by the \-lossless option), a small
factor enables faster compression speed, but produces a larger file. Maximum
compression is achieved by using a value of 100.
.TP .TP
.B \-alpha_q int .B \-alpha_q int
Specify the compression factor for alpha compression between 0 and 100. Specify the compression factor for alpha compression between 0 and 100.