]> granicus.if.org Git - openjpeg/commitdiff
opj_compress help: indicate 0 value, instead of 1, for -r parameter to get lossless...
authorEven Rouault <even.rouault@spatialys.com>
Fri, 1 Sep 2017 15:32:54 +0000 (17:32 +0200)
committerEven Rouault <even.rouault@spatialys.com>
Fri, 1 Sep 2017 15:33:23 +0000 (17:33 +0200)
src/bin/jp2/opj_compress.c

index 494b366a7211d7cd3796b55299568e3b8a2a29bd..4a0baed6ab34ebc8c81965987ac580ff0c8f4dcb 100644 (file)
@@ -169,9 +169,9 @@ static void encode_help_display(void)
     fprintf(stdout, "    Different compression ratios for successive layers.\n");
     fprintf(stdout,
             "    The rate specified for each quality level is the desired\n");
-    fprintf(stdout, "    compression factor.\n");
+    fprintf(stdout, "    compression factor (use 0 for lossless)\n");
     fprintf(stdout, "    Decreasing ratios required.\n");
-    fprintf(stdout, "      Example: -r 20,10,1 means \n");
+    fprintf(stdout, "      Example: -r 20,10,0 means \n");
     fprintf(stdout, "            quality layer 1: compress 20x, \n");
     fprintf(stdout, "            quality layer 2: compress 10x \n");
     fprintf(stdout, "            quality layer 3: compress lossless\n");