summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Zern <jzern@google.com>2023-03-17 15:17:31 -0700
committerJames Zern <jzern@google.com>2023-03-17 15:17:31 -0700
commit24bed3d9fb790305418a98c26d45629c8b01fb97 (patch)
tree865c82e1f6261dd32b5da15d7389dc5945d71bf8
parent0825faa4c10d622f2747c5b2752e7b6a6848bf3f (diff)
downloadlibwebp-24bed3d9fb790305418a98c26d45629c8b01fb97.tar.gz
cwebp: reflow -near_lossless help text
this matches the output from img2webp added in: 0825faa4 img2webp: add -sharp_yuv/-near_lossless Change-Id: I329ccd796d7e9bee36de1429fceafe83d7dc5532
-rw-r--r--doc/tools.md4
-rw-r--r--examples/cwebp.c5
2 files changed, 4 insertions, 5 deletions
diff --git a/doc/tools.md b/doc/tools.md
index 20fc22a3..317e7647 100644
--- a/doc/tools.md
+++ b/doc/tools.md
@@ -82,8 +82,8 @@ Options:
green=0xe0 and blue=0xd0
-noalpha ............... discard any transparency information
-lossless .............. encode image losslessly, default=off
--near_lossless <int> ... use near-lossless image
- preprocessing (0..100=off), default=100
+-near_lossless <int> ... use near-lossless image preprocessing
+ (0..100=off), default=100
-hint <string> ......... specify image characteristics hint,
one of: photo, picture or graph
diff --git a/examples/cwebp.c b/examples/cwebp.c
index 9adb31ec..835579d9 100644
--- a/examples/cwebp.c
+++ b/examples/cwebp.c
@@ -592,9 +592,8 @@ static void HelpLong(void) {
" green=0xe0 and blue=0xd0\n");
printf(" -noalpha ............... discard any transparency information\n");
printf(" -lossless .............. encode image losslessly, default=off\n");
- printf(" -near_lossless <int> ... use near-lossless image\n"
- " preprocessing (0..100=off), "
- "default=100\n");
+ printf(" -near_lossless <int> ... use near-lossless image preprocessing\n"
+ " (0..100=off), default=100\n");
printf(" -hint <string> ......... specify image characteristics hint,\n");
printf(" one of: photo, picture or graph\n");