Thanks for the quick reply. I built from git, but can test only tomorrow with the scanner.
I am wondering if I can have two sane-backends installations in parallel while testing. I did a ./configure prefix=/opt/sane-backends-091230 and then a rd at blackbox:~/SW.nobackup/sane-backends$ . /opt/sane-backends-091230/sane_init rd at blackbox:~/SW.nobackup/sane-backends$ cat /opt/sane-backends-091230/sane_init SANEPREFIX=/opt/sane-backends-091230 export PATH=$SANEPREFIX/bin:$PATH export LD_LIBRARY_PATH=$SANEPREFIX/lib:$LD_LIBRARY_PATH rd at blackbox:~/SW.nobackup/sane-backends$ Thanks, Rainer PS: I changed the subject to Epson Perfection 610 (510 was a typo) Am Mittwoch, 30. Dezember 2009 schrieben Sie: > Could you try a more recent version of sane-backends, or perhaps a git > snapshot? > > allan > > On Tue, Dec 29, 2009 at 5:34 AM, Rainer Dorsch <rdorsch at web.de> wrote: > > Hello, > > > > when scanning with the Epson Perfection 610 with 150dpi color mode, sane > > creates corrupted files > > > > rd at dell:~$ scanimage -L > > device `epson2:libusb:001:003' is a Epson Perfection610 flatbed scanner > > device `epson:libusb:001:003' is a Epson Perfection610 flatbed scanner > > device `epkowa:libusb:001:003' is a Epson Perfection 610 flatbed scanner > > Crd at dell:~$scanimage --device-name='epson2:libusb:001:003' --mode='Color' > > -y 297 -l 0 --resolution='150' -x 210 --wait-for-button='yes' -t 0 > > --verbose > test.pnm > > scanimage: scanning image of size 1240x1748 pixels at 24 bits/pixel > > scanimage: acquiring RGB frame > > scanimage: min/max graylevel value = 34/253 > > scanimage: read 6487680 bytes in total > > rd at dell:~$ pnmtopng test.pnm > test.png > > pnmtopng: EOF / read error reading a row of pixels > > rd at dell:~$ > > > > Also imagemagick has problems with this file > > > > rd at dell:~$ convert test.pnm test.png > > convert: unable to read image data `test.pnm'. > > convert: missing an image filename `test.png'. > > rd at dell:~$ ls -l test.pnm > > -rw-r--r-- 1 rd rd 6487717 29. Dez 10:40 test.pnm > > rd at dell:~$ > > > > For reference I put the corupted file to > > > > http://bokomoko.de/~rd/test.pnm > > > > Since kuickshow displays test.pnm well (also with more meaningfull > > examples), I think sane scans the page ok, but has some issue when > > writting the pnm file. > > > > When scanning with 300 dpi in color mode or 150 dpi in binary mode, there > > is no issue: > > > > rd at dell:~$ scanimage --device-name='epson2:libusb:001:003' --mode='Color' > > -y 297 -l 0 --resolution='300' -x 210 --wait-for-button='yes' -t 0 > > --verbose > test300.pnm > > scanimage: scanning image of size 2480x3496 pixels at 24 bits/pixel > > scanimage: acquiring RGB frame > > scanimage: min/max graylevel value = 19/255 > > scanimage: read 26010240 bytes in total > > rd at dell:~$ pnmtopng test300.pnm > test300.png > > rd at dell:~$ > > > > Again for reference: http://bokomoko.de/~rd/test300.pnm > > > > I am using the sane-backends version 1.0.19 contained in Debian 5.0 > > > > Thanks, > > Rainer > > > > -- > > sane-devel mailing list: 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 -- Rainer Dorsch L?rchenstr. 6 D-72135 Dettenhausen 07157-734133 email: rdorsch at web.de jabber: rdorsch at jabber.org GPG Fingerprint: 5966 C54C 2B3C 42CC 1F4F 8F59 E3A8 C538 7519 141E Full GPG key: http://pgp.mit.edu/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part. URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20091230/0704e05e/attachment-0001.pgp>
