On Tue, Jun 13, 2000 at 11:41:07AM +0200, abel deuring wrote:
> Benjamin Hell wrote:
>
> > While playing around, I found that xscanimage crashed
> > whenever I wanted to scan with custom gamma table enabled:
> >
> > sanei_scsi.c:3701: failed assertion 'src_size == cmd_size'
> >
> > [1] + IOT instruction (core dumped) xscanimage
> >
> > Mmmh, appears to be a deja-vu :-)
>
> Benjamin,
>
> try patch #4, attached to this mail. The backend function
> set_density_curve calls sanei_scsi_cmd with buffers for both writing
> data to and reading data from the device set to non-zero.
>
> Abel
Abel,
Thanks alot for the patch, custom gamma correction
is now working like a charm!
Ben
-- The box said, "Requires Windows 95 or better", so I installed Solaris.-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
This archive was generated by hypermail 2b29 : Wed Jun 14 2000 - 13:49:07 PDT