kopia lustrzana https://gitlab.com/sane-project/backends
Fix calculation of pixel number used in calibration
rodzic
d2fb13c37d
commit
8994e0cb07
|
@ -1,6 +1,7 @@
|
|||
2009-03-19 Pierre Willenbrock <pierre@pirsoft.dnsalias.org>
|
||||
* backend/genesys_devices.c: Enable Motor again for combined
|
||||
dark/bright calibration
|
||||
dark/bright calibration, fix calculation of pixel number used in
|
||||
calibration
|
||||
|
||||
2009-03-21 m. allan noah <kitno455 a t gmail d o t com>
|
||||
* backend/fujitsu.[ch]: backend v91
|
||||
|
|
|
@ -3396,8 +3396,8 @@ genesys_flatbed_calibration (Genesys_Device * dev)
|
|||
}
|
||||
|
||||
|
||||
/*y_size * xres? y_size hopefully in inches, then*/
|
||||
pixels_per_line = dev->model->y_size * dev->settings.xres;
|
||||
pixels_per_line = (SANE_UNFIX(dev->model->x_size) * dev->settings.xres) /
|
||||
MM_PER_INCH;
|
||||
|
||||
/* send default shading data */
|
||||
status = sanei_genesys_init_shading_data (dev, pixels_per_line);
|
||||
|
|
Ładowanie…
Reference in New Issue