From 5d6c5bd2a54612438cb38b212e6ad58afccada47 Mon Sep 17 00:00:00 2001 From: Pascal Massimino Date: Wed, 23 Oct 2013 01:29:47 -0700 Subject: [PATCH] add entry for '-resize' option in cwebp's man Change-Id: I04b2853825527b03cfa73377004b1a2a40b4c94f --- man/cwebp.1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/man/cwebp.1 b/man/cwebp.1 index 859634a5..24eddb41 100644 --- a/man/cwebp.1 +++ b/man/cwebp.1 @@ -1,5 +1,5 @@ .\" Hey, EMACS: -*- nroff -*- -.TH CWEBP 1 "October 17, 2013" +.TH CWEBP 1 "October 23, 2013" .SH NAME cwebp \- compress an image file to a WebP file .SH SYNOPSIS @@ -153,6 +153,11 @@ close as possible to this target. Set a maximum number of passes to use during the dichotomy used by options \fB\-size\fP or \fB\-psnr\fP. Maximum value is 10. .TP +.BI \-resize " width height +Resize the source to a rectangle with size \fBwidth\fP x \fBheight\fP. +If either (but not both) of the \fBwidth\fP or \fBheight\fP parameters is 0, +the value will be calculated preserving the aspect-ratio. +.TP .BI \-crop " x_position y_position width height Crop the source to a rectangle with top-left corner at coordinates (\fBx_position\fP, \fBy_position\fP) and size \fBwidth\fP x \fBheight\fP.