[sane-devel] Epson Perfection 510 Issue with 150 dpi scan

m. allan noah kitno455 at gmail.com
Wed Dec 30 13:18:57 UTC 2009


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
>



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



More information about the sane-devel mailing list