> Oliver Rauch (oliver.rauch@Wolfsburg.DE) wrote:
> > If the image depth is greater than 8 bits per sample most of the scanners
> > (e.g all UMAX, as far as I know microtek too) do send the data padded to
> > the most significant bits.
>
> Just as a little scan trivia: the HP format is LSB-justified.
>
> > The only problem I see is that the frontend does not now the real bit depth,
> > because
> > the backend says 16 bits in all this cases!
>
> Well then lets define 'depth' to be the native depth. If depth>8 then
> the frontend should know that one sample is send MSB justified and stretched
> (the way Andy described) to 16 bits. How would that sound?
>
This would not break the sane api very hard and all backends would still
work.Only a backend that does work this way will not work with an "old" frontend.
So I think it would be ok. Should be no great thing for xsane to do so, but
David has to confirm this first!
Bye
Oliver
-- EMAIL: Oliver.Rauch@Wolfsburg.DE WWW: http://www.wolfsburg.de/~rauch
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com