diff --git a/README b/README index 4a6f5832..434d6f94 100644 --- a/README +++ b/README @@ -141,7 +141,7 @@ 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, -JPEG or TIFF file. +JPEG, TIFF or WebP file. options: -h / -help ............ short help -H / -longhelp ........ long help @@ -151,6 +151,9 @@ options: default, photo, picture, drawing, icon, text -preset must come first, as it overwrites other parameters. + -z ............... Activates lossless preset with given + level in [0:fast, ..., 9:slowest] + -m ............... compression method (0=fast, 6=slowest) -segments ........ number of segments to use (1..4) -size ............ Target size (in bytes) diff --git a/examples/cwebp.c b/examples/cwebp.c index d52b319d..f81d101c 100644 --- a/examples/cwebp.c +++ b/examples/cwebp.c @@ -569,8 +569,8 @@ static void HelpLong(void) { printf(" -preset ....... Preset setting, one of:\n"); printf(" default, photo, picture,\n"); printf(" drawing, icon, text\n"); - printf(" -preset must come first, as it overwrites other parameters."); - printf(" -z ............... Activates lossless preset with given " + printf(" -preset must come first, as it overwrites other parameters.\n"); + printf(" -z ............... Activates lossless preset with given\n" " level in [0:fast, ..., 9:slowest]\n"); printf("\n"); printf(" -m ............... compression method (0=fast, 6=slowest)\n");