kopia lustrzana https://gitlab.com/sane-project/backends
fixed incorrect image height for sheetfed scanners
rodzic
5b9e4f68bb
commit
eb061b2c28
|
@ -1,3 +1,7 @@
|
||||||
|
2011-07-07 Stéphane Voltz <stef.dev@free.fr>
|
||||||
|
* backend/genesys.c: fixed incorrect image height for sheetfed
|
||||||
|
scanners
|
||||||
|
|
||||||
2011-07-07 m. allan noah <kitno455 at gmail dot com>
|
2011-07-07 m. allan noah <kitno455 at gmail dot com>
|
||||||
* po/pt.po: updated translation from cncsolutions.com.br
|
* po/pt.po: updated translation from cncsolutions.com.br
|
||||||
|
|
||||||
|
|
|
@ -7701,9 +7701,10 @@ sane_get_parameters (SANE_Handle handle, SANE_Parameters * params)
|
||||||
/* in the case of a sheetfed scanner, when full height is specified
|
/* in the case of a sheetfed scanner, when full height is specified
|
||||||
* we override the computed line number with -1 to signal that we
|
* we override the computed line number with -1 to signal that we
|
||||||
* don't know the real document height.
|
* don't know the real document height.
|
||||||
|
* We don't do that doing buffering image for digital processing
|
||||||
*/
|
*/
|
||||||
if (s->dev->model->is_sheetfed == SANE_TRUE
|
if (s->dev->model->is_sheetfed == SANE_TRUE
|
||||||
&& s->dev->read_active == SANE_FALSE
|
&& s->dev->buffer_image == SANE_FALSE
|
||||||
&& s->val[OPT_BR_Y].w == s->opt[OPT_BR_Y].constraint.range->max)
|
&& s->val[OPT_BR_Y].w == s->opt[OPT_BR_Y].constraint.range->max)
|
||||||
{
|
{
|
||||||
params->lines = -1;
|
params->lines = -1;
|
||||||
|
|
Ładowanie…
Reference in New Issue