backend/epson.c: Allow more than 8 bit color depth for
preview mode since Xsane can handle this. Some code cleanup.
Removed ancient code that was used to determine the resolution
back when the backend still had a slider for the resolution
selection.
backend/epson.desc: Updated version number, added new scanners.
Added sense handler to support the GT-8000 scanner.
Also added experimental (and #ifdef protected) USB scanner probing
code - requires patch to USB scanner driver.
backend/epson.c:
- Removed check for '\n' before end of line
- Free memory malloced in sane_get_devices() in sane_exit() again
- Check first if the scanner does support the set film type and set
focus position before the GUI elements are displayed.
- This caused problems with older (B4 level) scanners when a TPU
was connected.
Added bit-depth selection again.
Fixed problem with bilevel scanning with Perfection610: The
line count has to be an even number with this scanner.
Several initialization fixes regarding bit depth selection.
This version goes back into the CVS repository, the 1.0.4
release is out and therefore the code freeze is over.
Some general cleanup, added more comments
Removed changes regarding 12/14 bit support because of SANE
feature freeze for 1.0.4.
The following fixes are in the software compared to the version
prior to the feature freeze:
- refresh UI after a change in the scan mode setting (was not updated
when going from Binary to Gray or vice versa)
- Read values for "line distance" from the scanner instead of using
hardcoded values. This makes sure the backend always uses the correct
values regardless of firmware version.
- Fixed an "off-by-one" error in the color reordering routine that
caused weird artifacts in some instances.