From d1edf697b2c75bcbee7fc0aeff4194c7c8aff668 Mon Sep 17 00:00:00 2001 From: Urvang Joshi Date: Thu, 15 Nov 2012 15:57:50 -0800 Subject: [PATCH] cwebp man page: meaning of '-q' for lossy/lossless Change-Id: I00b1e6a4f35c6c191072b3c30077166e7b143f56 --- man/cwebp.1 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/man/cwebp.1 b/man/cwebp.1 index b6331623..536689e3 100644 --- a/man/cwebp.1 +++ b/man/cwebp.1 @@ -1,5 +1,5 @@ .\" Hey, EMACS: -*- nroff -*- -.TH CWEBP 1 "July 19, 2012" +.TH CWEBP 1 "November 15, 2012" .SH NAME cwebp \- compress an image file to a WebP file .SH SYNOPSIS @@ -30,9 +30,15 @@ A summary of all the possible options. Print the version number (as major.minor.revision) and exit. .TP .B \-q float -Specify the compression factor for RGB channels between 0 and 100. A small -factor produces a smaller file with lower quality. Best quality is achieved -using a value of 100. The default is 75. +Specify the compression factor for RGB channels between 0 and 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 .B \-alpha_q int Specify the compression factor for alpha compression between 0 and 100.