diff --git a/docs/config.html b/docs/config.html index c3f6d1f..5bdcc10 100755 --- a/docs/config.html +++ b/docs/config.html @@ -74,7 +74,7 @@

Imgcomp options

At 64000, it will pick ISO 320 with 0.005s exposure time. (more grainy but less motion blur)

-

pixxat <val>
+
pixsat <val>
with -exmanage 1, Jpeg pixel value at which image saturates because camera modules v1 and v2 saturate before hitting 255. Defaults to value appropriate for camera module detected\n" diff --git a/src/config.c b/src/config.c index 1236096..e65ca59 100755 --- a/src/config.c +++ b/src/config.c @@ -109,7 +109,7 @@ void usage (void)// complain about bad command line " by exposure time to be this value. Default 16000\n" " Larger means shorter shutter speeds, smaller means lower\n" " ISO (less grainy) but slower shutter, more motion blur\n" - " -pixxat with -exmanage 1, Jpeg pixel value at which image\n" + " -pixsat with -exmanage 1, Jpeg pixel value at which image\n" " saturates because camera modules v1 and v2 saturate\n" " before hitting 255. Defaults to value appropriate for\n" " camera module detected\n" @@ -258,7 +258,7 @@ static int parse_parameter (const char * tag, const char * value) fprintf(stderr, "Bad exposure time values. Must be 0.0001 - 10 (seconds)\n"); return -1; } - } else if (keymatch(tag, "pixsat", 7)) { + } else if (keymatch(tag, "pixsat", 6)) { if (sscanf(value, "%d", &ex.SatVal) != 1) return -1; if (ex.SatVal < 50 || ex.SatVal > 255){ fprintf(stderr, "Pixel saturation must be between in range of 50-255\n");