Re: 16 bit per sample support

Jonathan A. Buzzard (jab@hex.prestel.co.uk)
Sun, 04 Apr 1999 09:44:43 +0000

David.Mosberger@acm.org said:
> This is perfectly well defined in section 3.2:
> ... Valid bit depths are 1, 8, or 16 bits per sample.
> If a device's natural bit depth is something else, it is up
> to the driver to scale the sample values appropriately (e.g.,
> a 4 bit sample could be scaled by a factor of four to represent
> a sample value of depth 8).

Possibly depending on the device this should be configurable. If I
was scanning an X-ray at say 12bits I would be very upset if the backend
then stretched it to 16bits.

JAB.

-- 
Jonathan A. Buzzard                 Email: jab@hex.prestel.co.uk
Northumberland, United Kingdom.       Tel: +44(0)1661-832195

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