[sane-devel] [PATCH] 16bpp support for xscanimage

Henning Meier-Geinitz henning@meier-geinitz.de
Thu, 14 Nov 2002 17:36:12 +0100


Hi,

On Tue, Nov 12, 2002 at 05:18:10PM +0300, Sergey Vlasov wrote:
> I have added support for 16bpp mode in xscanimage (in standalone mode,
> don't know if the current Gimp version supports more than 8 bits per
> channel).

I don't think so.

> Only SANE_FRAME_GRAY and SANE_FRAME_RGB are supported with depth > 8 -
> separate SANE_FRAME_{RED,GREEN,BLUE} transfers are not supported.

Thanks. I'll apply it to CVS as soon as cvs.hungry.com likes me again
:-). I've changed the handling of errors a bit, scan_done is now called.
Otherwise the scan button wouldn't get active
again if you try to start a scan in three-pass 16 bit mode.

Please test.

Bye,
  Henning