[xfree] Re: [sane-devel] Option not active

2003-08-14 Thread stef
On Thu, Aug 14, 2003 at 11:57:49AM +0530, aneesh m raj wrote: > Hi Stef, > Im writing a frontend, I have tried to set the custom-gamma to 1 ,but it is > saying that the custom-gamma option is not active.Stef, i have a doubt the > gamma value is from 0 to 255 then why do we need 1024 bytes?Suppose I

[sane-devel] Option not active

2003-08-14 Thread stef
Hum, OPT_CUSTOM_GAMMA is wrongly set to SANE_CAP_INACTIVE by default, so you can't use gamma tables ... I'll commit a fix by tomorrow. Meanwhile you can edit umax_pp.c and remove '| SANE_CAP_INACTIVE' on the line : dev->opt[OPT_CUSTOM_GAMMA].cap |= SANE_CAP_ADVANCED | SANE_CAP_IN

[sane-devel] Option not active

2003-08-13 Thread stef
On Wed, Aug 13, 2003 at 05:03:47PM +0530, aneesh m raj wrote: > Hi all, > Im trying to set the red-gamma-table option for a UMAX 2000p scanner but > SANE_OPTION_IS_ACTIVE return false,I have changed the mode to Color. what > will be the problem. > Thanks > Aneesh As given by 'scanimage -

[sane-devel] Option not active

2003-08-13 Thread aneesh m raj
This is a multi-part message in MIME format. --=_NextPart_000_0013_01C361BC.DC282430 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, Im trying to set the red-gamma-table option for a UMAX 2000p scanner but = SANE_OPTION_IS_ACTIVE retu