kopia lustrzana https://gitlab.com/sane-project/backends
enable gamma in 16 bit depth
rodzic
83e23108fe
commit
0645ab29d1
|
@ -1611,8 +1611,9 @@ gl124_init_scan_regs (Genesys_Device * dev,
|
||||||
{
|
{
|
||||||
depth = 8;
|
depth = 8;
|
||||||
}
|
}
|
||||||
|
/* XXX STEF XXX
|
||||||
if (depth == 16)
|
if (depth == 16)
|
||||||
flags |= SCAN_FLAG_DISABLE_GAMMA;
|
flags |= SCAN_FLAG_DISABLE_GAMMA; */
|
||||||
|
|
||||||
/* we enable true gray for cis scanners only, and just when doing
|
/* we enable true gray for cis scanners only, and just when doing
|
||||||
* scan since color calibration is OK for this mode
|
* scan since color calibration is OK for this mode
|
||||||
|
@ -2595,7 +2596,7 @@ gl124_init_regs_for_shading (Genesys_Device * dev)
|
||||||
|
|
||||||
/* distance to move to reach white target at high resolution */
|
/* distance to move to reach white target at high resolution */
|
||||||
move=0;
|
move=0;
|
||||||
if(3*dev->settings.yres>=1200)
|
if(dev->settings.yres>=1200)
|
||||||
{
|
{
|
||||||
move = SANE_UNFIX (dev->model->y_offset_calib);
|
move = SANE_UNFIX (dev->model->y_offset_calib);
|
||||||
move = (move * (dev->motor.base_ydpi/4)) / MM_PER_INCH;
|
move = (move * (dev->motor.base_ydpi/4)) / MM_PER_INCH;
|
||||||
|
|
Ładowanie…
Reference in New Issue