From: Even Rouault Date: Fri, 1 Sep 2017 15:32:54 +0000 (+0200) Subject: opj_compress help: indicate 0 value, instead of 1, for -r parameter to get lossless... X-Git-Tag: v2.3.0~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=32572617765cb9d77302384653a48d793b8f657f;p=openjpeg opj_compress help: indicate 0 value, instead of 1, for -r parameter to get lossless encoding (#1009) --- diff --git a/src/bin/jp2/opj_compress.c b/src/bin/jp2/opj_compress.c index 494b366a..4a0baed6 100644 --- a/src/bin/jp2/opj_compress.c +++ b/src/bin/jp2/opj_compress.c @@ -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");