From ed4032110ffcadd4948661a30ebdb8041dae0c70 Mon Sep 17 00:00:00 2001 From: sz Date: Wed, 21 Feb 2024 23:12:46 -0600 Subject: [PATCH] Update color-correct option This needs some cleanup. In any event, 0,1,3 are the options that matter for now. I might put 2 (kmeans clustering) back at some point. --- cimbar/cimbar.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cimbar/cimbar.py b/cimbar/cimbar.py index 5e3c09d..6943eac 100644 --- a/cimbar/cimbar.py +++ b/cimbar/cimbar.py @@ -26,7 +26,7 @@ --config= Choose configuration from sq8x8,sq5x5,sq5x6. [default: sq8x8] --dark Use dark palette. [default] --light Use light palette. - --color-correct=<0-2> Color correction. 0 is off. 1 is white balance. 2 is 2-pass least squares. [default: 1] + --color-correct=<0-7> Color correction. 0 is off. 1 is white balance. 3 is 2-pass on a fountain-encoded image. [default: 1] --deskew=<0-2> Deskew level. 0 is no deskew. Should usually be 0 or default. [default: 1] --preprocess=<0,1> Sharpen image before decoding. Default is to guess. [default: -1] """