README: update cwebp help output

Change-Id: Ifc2fafca8131e53a894056e37bb22d25fedfa150
This commit is contained in:
James Zern 2012-07-13 14:55:39 -07:00
parent 8130c4cc64
commit 12f9aede7e
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: Usage:
cwebp [-preset <...>] [options] in_file [-o out_file] cwebp [-preset <...>] [options] in_file [-o out_file]
If input size (-s) for an image is not specified, it is assumed to be a If input size (-s) for an image is not specified, it is assumed to be a PNG,
PNG or JPEG file. JPEG or TIFF file.
options: options:
-h / -help ............ short help -h / -help ............ short help
-H / -longhelp ........ long help -H / -longhelp ........ long help
@ -156,6 +156,9 @@ options:
One of: none, fast (default) or best. One of: none, fast (default) or best.
-alpha_cleanup ......... Clean RGB values in transparent area. -alpha_cleanup ......... Clean RGB values in transparent area.
-noalpha ............... discard any transparency information. -noalpha ............... discard any transparency information.
-lossless .............. Encode image losslessly.
-hint <string> ......... Specify image characteristics hint.
One of: photo or picture
-short ................. condense printed message -short ................. condense printed message
-quiet ................. don't print anything. -quiet ................. don't print anything.

View File

@ -775,7 +775,7 @@ static void HelpLong(void) {
printf("Usage:\n"); printf("Usage:\n");
printf(" cwebp [-preset <...>] [options] in_file [-o out_file]\n\n"); printf(" cwebp [-preset <...>] [options] in_file [-o out_file]\n\n");
printf("If input size (-s) for an image is not specified, " 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 #ifdef HAVE_WINCODEC_H
printf("Windows builds can take as input any of the files handled by WIC\n"); printf("Windows builds can take as input any of the files handled by WIC\n");
#endif #endif