From 12f9aede7e3aaafbe88cb72624cec11cafd2c244 Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 13 Jul 2012 14:55:39 -0700 Subject: [PATCH] README: update cwebp help output Change-Id: Ifc2fafca8131e53a894056e37bb22d25fedfa150 --- README | 7 +++++-- examples/cwebp.c | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/README b/README index e6b47839..5ed93037 100644 --- a/README +++ b/README @@ -121,8 +121,8 @@ A longer list of options is available using the -longhelp command line flag: Usage: cwebp [-preset <...>] [options] in_file [-o out_file] -If input size (-s) for an image is not specified, it is assumed to be a - PNG or JPEG file. +If input size (-s) for an image is not specified, it is assumed to be a PNG, +JPEG or TIFF file. options: -h / -help ............ short help -H / -longhelp ........ long help @@ -156,6 +156,9 @@ options: One of: none, fast (default) or best. -alpha_cleanup ......... Clean RGB values in transparent area. -noalpha ............... discard any transparency information. + -lossless .............. Encode image losslessly. + -hint ......... Specify image characteristics hint. + One of: photo or picture -short ................. condense printed message -quiet ................. don't print anything. diff --git a/examples/cwebp.c b/examples/cwebp.c index e4aa9672..d94ac531 100644 --- a/examples/cwebp.c +++ b/examples/cwebp.c @@ -775,7 +775,7 @@ static void HelpLong(void) { printf("Usage:\n"); printf(" cwebp [-preset <...>] [options] in_file [-o out_file]\n\n"); printf("If input size (-s) for an image is not specified, " - "it is assumed to be a PNG or JPEG file.\n"); + "it is assumed to be a PNG, JPEG or TIFF file.\n"); #ifdef HAVE_WINCODEC_H printf("Windows builds can take as input any of the files handled by WIC\n"); #endif