questions regarding backend

Brian J. Murrell (sane-in@interlinx.bc.ca)
Sun, 15 Nov 1998 16:12:30 -0800 (PST)

Hi Folks.

I am just finishing up my initial attempt at a backend for the Kodak
DC210. It mostly works, but there are a couple of problems.

I get a dialog saying that EOF was reached and that the scan fails. I
am assuming that is becuase xscanimage is coming back to sane_read() for
data when there is no more, and sane_read() returns EOF. Is a frontend
suppose to know when it has received all of it's data and not ask for
anymore when that happens, such that if it does get an EOF from
sane_read() it's an error. Or does the frontend continue calling
sane_read() until it does return an EOF/

Second issue is that my "Preview" window is not set to the resolution of
the image that will be coming from the camera. Any idea what I am
missing here?

Thirdly, would there be any problem if I re-wrote what I have in C++.
Is it reasonable to add a requirement to the SANE package that if you
want DC210 support you need a C++ compiler, and (perhaps) libstdc++?

Thanks for your time,
b.

--
Brian J. Murrell                              InterLinx Support Services, Inc.
North Vancouver, B.C.                                             604 983 UNIX
        Platform and Brand Independent UNIX Support - R3.2 - R4 - BSD

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