Merge "README: update cwebp help output" into 0.2.0

This commit is contained in:
pascal massimino 2012-07-14 09:29:19 -07:00 committed by Gerrit Code Review
commit 51fa13e170
2 changed files with 6 additions and 3 deletions

7
README
View File

@ -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 <string> ......... Specify image characteristics hint.
One of: photo or picture
-short ................. condense printed message
-quiet ................. don't print anything.

View File

@ -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