Re: TWAIN - SANE interface : announce

Chris Pinkham (cpinkham@infi.net)
Mon, 4 Jan 1999 23:04:40 -0500 (EST)

> > I got it, but having problmes with the artec backend.
> >
> > It seem that the BRIGHTNESS and some other options are not always supported
> > by some backends.
>
> If the artec backend reports an option "BRIGHTNESS", but when you set it,
> falls over or does something stupid, then it is broken. If the TWAIN

As the author of the Artec backend awakens from his holiday slumber......

The low-end models of the Artec scanners do not support brightness in
hardware. There is a brightness option, but it is defined as being
INACTIVE (visible by doing a scanimage -h). From looking at other
backends, it looks like when an option is inactive, the backends do the
same thing the Artec backend does if you try to set that option with
sane_control_option(), they return SANE_STATUS_INVAL. I have downloaded
the winsane frontend but don't have Windows installed anywhere here at my
house in order to test it. Guess that old 486 might get used after all. :-)
I don't know if this is why the program was messing up for Andre, but
it may be the frontend does not handle SANE_STATUS_INVAL.

For the low-end Artec scanners (which I happen to have one of) I'm going
to have to do the brightness in software according to the docs. The
high-end Artec models support brightness in hardware, but I have not yet
implemented it (actually I think they support brightness per RGB channel).

Chris

*****************************************************************************
** Chris Pinkham Linux v2.2.0-pre3, Sane v1.00, GIMP v1.0 **
** cpinkham@sh001.infi.net http://www4.infi.net/~cpinkham/ **
*****************************************************************************

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