Karl Heinz Kremer wrote:
> On Sat, Jan 29, 2000 at 05:40:07PM +0100, Oliver Rauch wrote:
> > Hi Karl Heinz
> >
> > try if it works when you comment out:
> > s->opt[ OPT_GAMMA_VECTOR].cap |= SANE_CAP_ADVANCED;
> > and the equivalent lines for red/green/blue
> >
>
> How did you know? When I remove the "Advanced" settings from
> the Options then it works. This however causes the gamma curves
> to be placed on the "normal" interface of xscanimage and not the
> advanced one where they belong (IMHO).
>
The gamma curves are placed in an own box in xscanimage.
You wrote you get a crash when you disable the advanced options
and I never have seen that someone put the gamma table into "advanced",
so it was relative simple to guess.
If you add a bool option "custom gamma table" (take a look in saneopts.h)
that sets the gamma vectors to .cap |= SANE_CAP_INACTIVE
then the user can disable the gamma table compareable to the way the
advanced options can be enabled/disabled.
Of course it is a bug in xscanimage that you get a segfault. But I think it is not
too bad in the moment!
Bye
Oliver
-- Homepage: http://www.wolfsburg.de/~rauch sane-umax: http://www.wolfsburg.de/~rauch/sane/sane-umax.html xsane: http://www.wolfsburg.de/~rauch/sane/sane-xsane.html E-Mail: mailto:Oliver.Rauch@Wolfsburg.DE-- 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 : Sat Jan 29 2000 - 14:26:41 PST