Re: Forwards-Backwards

a.bolsch@ic.ac.uk
Mon, 4 Jan 1999 15:06:28 +0000 (GMT)

This happens for me, too, but only above 600dpi. It's easy to modify the
backend in order to prevent this. However, then you will almost always
get a corrupted image. The problem is certainly the scanner's buffer
management. The buffer is obviously implemented as a circular buffer,
and has *NO* automatic overflow protection. The only reliable method
I know is to use read requests with less than 64kByte and to signal
in advance (i.e. when issuing the read request) whether the host can
guarantee to read this block of data before it is overwritten.
If you've got 256 MBytes of RAM that problem won't occur but otherwise ...

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com