kopia lustrzana https://gitlab.com/sane-project/backends
epson2: disable thresholding by default
rodzic
1df16a29aa
commit
74c0db99eb
|
@ -1672,10 +1672,14 @@ handle_depth_halftone(Epson_Scanner *s, SANE_Bool *reload)
|
|||
SANE_Bool aas = SANE_FALSE;
|
||||
SANE_Bool thresh = SANE_FALSE;
|
||||
|
||||
/* this defaults to false */
|
||||
setOptionState(s, thresh, OPT_THRESHOLD, reload);
|
||||
|
||||
if (!s->hw->cmd->control_auto_area_segmentation)
|
||||
return;
|
||||
|
||||
if (mode_params[mdi].depth == 1) {
|
||||
|
||||
if (halftone_params[hti] != HALFTONE_TET)
|
||||
aas = SANE_TRUE;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue