[WIA] Unable to set valid value to the option br-y
Way to reproduce:
- Check that all the options
br-x br-y tl-x tl-y
are readable and writable - Get their constraints
- Set the values of
br-x
and thenbr-y
that is in constrations
For example:
tl-x(xpos)[Horizontal Start Position] Type: `int64` Constraints: {0-2490;1} Unit: `NONE` Capabilities: `LIS_CAP_EMULATED|LIS_CAP_SW_SELECT`
tl-y(ypos)[Vertical Start Position] Type: `int64` Constraints: {0-3498;1} Unit: `NONE` Capabilities: `LIS_CAP_EMULATED|LIS_CAP_SW_SELECT`
br-x(xpos)[Horizontal Start Position] Type: `int64` Constraints: {6-2496;1} Unit: `NONE` Capabilities: `LIS_CAP_EMULATED|LIS_CAP_SW_SELECT`
br-y(ypos)[Vertical Start Position] Type: `int64` Constraints: {6-3504;1} Unit: `NONE` Capabilities: `LIS_CAP_EMULATED|LIS_CAP_SW_SELECT`
And the value for br-y
is 1753
Result:
The error returned: <Invalid value>[1073741827]
Logs:
[LibInsane:ERROR] ../subprojects/libinsane/src/workarounds/cache.c:L229(cache_set_value): yextent->set_value() failed: 0x40000003, Invalid value
[LibInsane:ERROR] ../subprojects/libinsane/src/normalizers/opt_aliases.c:L858(br_set_value): Failed to set value of 'yextent': 0x40000003, Invalid value
[LibInsane:ERROR] ../subprojects/libinsane/src/util.c:L244(lis_set_option): flatbed: Failed to set br-y=1753
Expected result:
No errors, options are setted up well
Environment:
Windows 10 Pro 64-bit
libinsane 32-bit ".0.3-16-g2f72c4e
BearPaw 1200CU Plus WIA Scanner
Edited by Jerome Flesch