kopia lustrzana https://gitlab.com/sane-project/backends
- code cleanups
- 1220P offset and calibration fixes, image quality is really good now. - 610P shading calibration improvementmerge-requests/1/head
rodzic
281726a0b2
commit
9ff04460ef
|
@ -1,3 +1,9 @@
|
|||
2004-10-28 Stéphane Voltz <svoltz@wanadoo.fr>
|
||||
|
||||
* backend/umax_pp.c backend/umax_pp_low.c: 610P shading
|
||||
calibration improvements. 1220P offset and gain fixes.
|
||||
Code cleanups.
|
||||
|
||||
2004-10-08 Ullrich Sigwanz <usigwanz@freesurf.ch>
|
||||
* backend/niash.c: Added grayscale and lineart support
|
||||
* backend/niash_core.c: corrected bug in line-weight in
|
||||
|
|
|
@ -412,11 +412,14 @@ umax_pp_get_sync (SANE_Int dpi)
|
|||
case 600:
|
||||
return 16;
|
||||
case 300:
|
||||
return 8;
|
||||
return 8; /* 8 double-checked*/
|
||||
case 150:
|
||||
/* wrong: 2, 3, 5
|
||||
* double-checked : 4
|
||||
*/
|
||||
return 4;
|
||||
default:
|
||||
return 2;
|
||||
return 2; /* 2 double-checked */
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2124,11 +2127,11 @@ sane_start (SANE_Handle handle)
|
|||
dev->dpi,
|
||||
2,
|
||||
autoset,
|
||||
(dev->red_gain << 8) +
|
||||
(dev->green_gain << 4) +
|
||||
(dev->red_gain << 8) |
|
||||
(dev->green_gain << 4) |
|
||||
dev->blue_gain,
|
||||
(dev->red_offset << 8) +
|
||||
(dev->green_offset << 4) +
|
||||
(dev->red_offset << 8) |
|
||||
(dev->green_offset << 4) |
|
||||
dev->blue_offset, &(dev->bpp), &(dev->tw),
|
||||
&(dev->th));
|
||||
/* we enlarged the scanning zone */
|
||||
|
|
Plik diff jest za duży
Load Diff
Ładowanie…
Reference in New Issue