[sane-devel] Canon Lide 50 (Genesys) - Added threshold for BW (lineart)

2006-03-27 Thread Gerald Murray
Quoting Pierre Willenbrock pie...@pirsoft.dnsalias.org:

 Laurent Charpentier schrieb:
  Hi Everyone,
  
  I would like to submit a patch for the genesys backend (Canon LIDE 50).
 The
  patch adds the threshold feature for black/white mode (in 1.0.17 the
 threshold
  is set to 50% and can't be changed).
  
  The attached patch is relative to sane-backends-1.0.17 (files genesys.c,
  genesys.h, genesys_gl841.c, genesys_low.h).
  
  Thank you to apply this patch.
 
 I will take a look at the patch when i find some time. I guess this
 should be done for software b/w as used by the gl646 part, too.
 
 Regards,
   Pierre
 
Hi all,
I tested Laurent's patch as submitted, against 1.0.17 and it works fine here.
regards,
Gerald



[sane-devel] Canon Lide 50 (Genesys) - Added threshold for BW (lineart)

2006-03-27 Thread Pierre Willenbrock
Laurent Charpentier schrieb:
 I would like to submit a patch for the genesys backend (Canon LIDE 50). The
 patch adds the threshold feature for black/white mode (in 1.0.17 the threshold
 is set to 50% and can't be changed).
 
 The attached patch is relative to sane-backends-1.0.17 (files genesys.c,
 genesys.h, genesys_gl841.c, genesys_low.h).
 
 Thank you to apply this patch.

It is in cvs now, with a little cleanup. I also made the software
lineart conversion for gl646 use this threshold.

Regards,
  Pierre


[sane-devel] Canon Lide 50 (Genesys) - Added threshold for BW (lineart)

2006-03-25 Thread Pierre Willenbrock
Laurent Charpentier schrieb:
 Hi Everyone,
 
 I would like to submit a patch for the genesys backend (Canon LIDE 50). The
 patch adds the threshold feature for black/white mode (in 1.0.17 the threshold
 is set to 50% and can't be changed).
 
 The attached patch is relative to sane-backends-1.0.17 (files genesys.c,
 genesys.h, genesys_gl841.c, genesys_low.h).
 
 Thank you to apply this patch.

I will take a look at the patch when i find some time. I guess this
should be done for software b/w as used by the gl646 part, too.

Regards,
  Pierre