opj_compress help: indicate 0 value, instead of 1, for -r parameter to get lossless encoding (#1009)

This commit is contained in:
Even Rouault 2017-09-01 17:32:54 +02:00
parent 6ce49bf5ae
commit 3257261776
1 changed files with 2 additions and 2 deletions

View 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");