Re: Starting a discussion about SANE and TWAIN...

Stephen Williams (steve@icarus.com)
Sat, 14 Aug 1999 19:15:43 -0700

> sane_read (SANE_Handle h, SANE_Byte * buf, SANE_Int maxlen, SANE_Int * len);

njl98r@ecs.soton.ac.uk said:
> This means that the backend is required to copy at most maxlen bytes
> into the buffer (buf) which was provided by the frontend. This
> interface is not optional, and should incur exactly one copy, which I
> don't think is unreasonable.

That's OK, as I can just memcpy from my mapped buffer. There are cases
where I would like to just write to disk directly from the buffer, but
precious few.

If someone wants to operate, say a PS3000 remotely, the net module
can use sockets to move buffers. I'm happy with that.

So all I'm looking for at the moment is some sort of means to negotiate
frame formats.

-- 
Steve Williams                "The woods are lovely, dark and deep.
steve@icarus.com              But I have promises to keep,
steve@picturel.com            and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."

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