kopia lustrzana https://gitlab.com/sane-project/backends
handle cache calibration for scan resolution higher than sensor's one
- x scan resolution may be higher than sensor's one, in this case use sensor resolution for calibration cachemerge-requests/1/head
rodzic
410021d1e8
commit
bd581d8ca4
|
@ -1379,6 +1379,10 @@ sanei_genesys_is_compatible_calibration (Genesys_Device * dev,
|
|||
if (dev->model->is_cis == SANE_FALSE)
|
||||
{
|
||||
resolution = dev->settings.xres;
|
||||
if(resolution>dev->sensor.optical_res)
|
||||
{
|
||||
resolution=dev->sensor.optical_res;
|
||||
}
|
||||
compatible = (resolution == ((int) cache->used_setup.xres));
|
||||
}
|
||||
else
|
||||
|
|
Ładowanie…
Reference in New Issue