Re: 16 bit per sample support
Jonathan A. Buzzard (firstname.lastname@example.org)
Sun, 04 Apr 1999 09:44:43 +0000
> 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.
Jonathan A. Buzzard Email: email@example.com
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 firstname.lastname@example.org