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 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.