mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 06:08:21 +01:00
Merge "README: update cwebp help output" into 0.2.0
This commit is contained in:
commit
51fa13e170
7
README
7
README
@ -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.
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user