[sane-devel] API addition request

2009-06-22 Thread jeffrey.ratcli...@gmail.com
On Jun 22, 2009 2:04am, m. allan noah kitno455 at gmail.com wrote:
 unless the pages are single sided prints. it would seem that only the  
 user could know that information, so it is probably a good idea to ask  
 them instead of the backend...

Absolutely. I was explaining why the flatbed/ADF/duplex flags were useful.

 Well, if we dont use params, our only choice with the current API is more  
 well-known options. One advantage of moving maintained backends to a new  
 package would be the possibility of regularizing/requiring such options...

Indeed. If the option names were standardised, then this would the problem  
on its own.

Regards

Jeff
-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090622/06c00b2b/attachment-0001.htm


[sane-devel] Regarding Canon DR-2050C using sane-1.0.20 backend _ Duplex Option

2009-06-22 Thread Rajesh Shah
Thank you very much for your reply . I was able to scan the page with 
duplex mode ..

Basically my requirement is to create a multipage image with optimum 
size in tiff .

I am using the following command to acheive a single tiff file from 2 
tiffs.

On doing so , I get this

# tiffcp -c g4 img1.tiff img2.tiff img3.tiff
img3.tiff: Bits/sample must be 1 for Group 3/4 encoding/decoding.
img3.tiff: Error, can't write strip 0.


I also used the tiffinfo img1.tiff to get the deetails of the file .
[rrshah at rajeshoffice ~]$ tiffinfo img2.tiff
TIFF Directory at offset 0x8 (8)
  Subfile Type: (0 = 0x0)
  Image Width: 850 Image Length: 1100
  Resolution: 100, 100 pixels/inch
  Bits/Sample: 8
  Compression Scheme: None
  Photometric Interpretation: min-is-black
  Orientation: row 0 top, col 0 lhs
  Samples/Pixel: 1
  Rows/Strip: 1100
  Min Sample Value: 0
  Max Sample Value: 255
  Planar Configuration: single image plane


After searching furthure on this case , I found that the tiff files 
should in Black and White ( or LineArt) .. I then used the mode but 
there are only 2 modes one is gray and other is colour  .

Kindly help .. I am almost on the verge of getting this working ..

Rajesh Shah



m. allan noah wrote:
 You have told the backend (scanner driver) that you want duplex data, 
 but you have not told the frontend (scanimage) that it should grab 
 more than one page. Try this instead:

 scanimage -d canon_dr:libusb:002:006 --source 'ADF Duplex' 
 --resolution 100 --format=tiff -b

 This will produce images in your current directory called out1.tif, 
 out2.tif, etc. These names can be changed, see scanimage manpage.

 Also, please note, that support for this machine is somewhat basic in 
 sane 1.0.20. In the last week I have added calibration and fixed many 
 bugs. I would HIGHLY suggest that you upgrade to a recent 
 sane-backends git snapshot, the scanner will be much more useful and 
 the image quality significantly improved.

 allan

 On Sun, Jun 21, 2009 at 6:18 AM, Rajesh Shah rajesh at finlogicindia.com 
 mailto:rajesh at finlogicindia.com wrote:

 Dear All ,
 I am posting for the first time . I am not a developer . But I was
 testing sane-1.0.20 backend on Canon DR-2050 C.
 I am using Mandriva Spring 2009.

 Using the following Command I am able to Scan but not able to use
 the Duplex Feature . Result is single page scan similarly to ADF Front

 # scanimage -d canon_dr:libusb:002:006 --source 'ADF Duplex'
 --resolution 100 --format=tiff  2image.tiff

 Please note ,I have also tried the double quotes .ie ADF Duplex
 but same results . Kindly guide .

 Even after I removed the source option , the size of the file
 remained the same .

 I think , I am few steps away from configuring it successfully .
 Please help and guide .












 --
 sane-devel mailing list: sane-devel at lists.alioth.debian.org
 mailto:sane-devel at lists.alioth.debian.org
 http://lists.alioth.debian.org/mailman/listinfo/sane-devel
 Unsubscribe: Send mail with subject unsubscribe your_password
to sane-devel-request at lists.alioth.debian.org
 mailto:sane-devel-request at lists.alioth.debian.org




 -- 
 The truth is an offense, but not a sin

 -- 
 This message has been scanned for viruses and
 dangerous content by *Finlogic Technolgies' Mail Scanner* 
 http://www.finlogicindia.com/, and is
 believed to be clean. 

-- next part --
An HTML attachment was scrubbed...
URL: 
http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20090622/d2724224/attachment.htm


[sane-devel] Canon LiDE 50 CanoScan (04a9:2213) is broken with 1.0.20

2009-06-22 Thread Ozan Çağlayan
Hi,

I've just noticed that my Canon LiDE 50 is broken with sane-backends 1.0.20 
(1.0.19 was OK). I've bisected it to:

e026a4fa2c72f71a3a8b79755a36d32ae4cddecb is first bad commit
commit e026a4fa2c72f71a3a8b79755a36d32ae4cddecb
Author: Pierre Willenbrock pierre at pirsoft.dnsalias.org
Date:   Mon Feb 23 14:20:39 2009 +

Make start/stop_(motor, now)action actually work

:100644 100644 eba27d5dd89a22acbbf676ae8256e1e30d47164d 
27c11dd41175f4e9d8d229bd3a3d47a0d2cc1ae5 M  ChangeLog
:04 04 ded6a899a5928c72dce03f205e25969437b6212e 
36ef109f0e275b569e5ea09dff8f94a16d9402fd M  backend


Thanks,



[sane-devel] Regarding Canon DR-2050C using sane-1.0.20 backend _ Duplex Option

2009-06-22 Thread m. allan noah
On Mon, Jun 22, 2009 at 8:39 AM, Rajesh Shahrajesh at finlogicindia.com wrote:
 Thank you very much for your reply . I was able to scan the page with duplex
 mode ..

 Basically my requirement is to create a multipage image with optimum size in
 tiff .

 I am using the following command to acheive a single tiff file from 2 tiffs.

 On doing so , I get this

 # tiffcp -c g4 img1.tiff img2.tiff img3.tiff
 img3.tiff: Bits/sample must be 1 for Group 3/4 encoding/decoding.
 img3.tiff: Error, can't write strip 0.


 I also used the tiffinfo img1.tiff to get the deetails of the file .
 [rrshah at rajeshoffice ~]$ tiffinfo img2.tiff
 TIFF Directory at offset 0x8 (8)
 ? Subfile Type: (0 = 0x0)
 ? Image Width: 850 Image Length: 1100
 ? Resolution: 100, 100 pixels/inch
 ? Bits/Sample: 8
 ? Compression Scheme: None
 ? Photometric Interpretation: min-is-black
 ? Orientation: row 0 top, col 0 lhs
 ? Samples/Pixel: 1
 ? Rows/Strip: 1100
 ? Min Sample Value: 0
 ? Max Sample Value: 255
 ? Planar Configuration: single image plane


 After searching furthure on this case , I found that the tiff files should
 in Black and White ( or LineArt) .. I then used the mode but there are only
 2 modes one is gray and other is colour? .

 Kindly help .. I am almost on the verge of getting this working ..

The hardware does not support lineart mode. However, the updated
version of the backend in sane git tree will manufacture this data
from gray scans. Please upgrade.

allan
-- 
The truth is an offense, but not a sin



[sane-devel] Canon LiDE 50 CanoScan (04a9:2213) is broken with 1.0.20

2009-06-22 Thread Pierre Willenbrock
Ozan ?a?layan schrieb:
 Hi,
 
 I've just noticed that my Canon LiDE 50 is broken with sane-backends 1.0.20 
 (1.0.19 was OK). I've bisected it to:
 
Thanks for bisecting, but this bug should be fixed in git master. See
bug #311691.

Regards,
  Pierre



[sane-devel] API addition request

2009-06-22 Thread Alessandro Zummo
On Sun, 21 Jun 2009 20:04:15 -0400
m. allan noah kitno455 at gmail.com wrote:

 Well, if we dont use params, our only choice with the current API is more
 well-known options. One advantage of moving maintained backends to a new
 package would be the possibility of regularizing/requiring such options...

 right!

 so, what's the path toward 2.0?

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Torino, Italy

  http://www.towertech.it




[sane-devel] Canon LiDE 50 CanoScan (04a9:2213) is broken with 1.0.20

2009-06-22 Thread Ozan Çağlayan
Pierre Willenbrock wrote:
 Thanks for bisecting, but this bug should be fixed in git master. See
 bug #311691.
   
Argh, I took a look at the commits after RELEASE_1_0_20 but that didn't
catch my attention at all. I'll grab/try the patch tomorrow.

Thanks!