It was endian problem between FE's (both scanimage and twain) and epson2 which shows up on PPC Mac in my case (not x86). 16bit pnm was also byte swapped.
(BTW scanimage -d test works just fine on PPC:) For my own I flipped !defined(WORDS_BIGENDIAN) in scanimage.c to fix pnm and forced motorola=0 in stiff.c to fix tiff's. Whoever maintains it may make nicer fix in configuration utility. Also, I have couple more small patches for - one for high resolution dpi and another bug in lamp warm up that are specific for v700 epson2.c - who can take them? I do not use cvs, just sane user. Thanks! Oleg. --- On Sat, 4/11/09, Oleg Perelet <perelet at yahoo.com> wrote: > From: Oleg Perelet <perelet at yahoo.com> > Subject: [sane-devel] epson2 Epson v700 scanning at bit rate > 8 corrupts > images > To: sane-devel at lists.alioth.debian.org > Date: Saturday, April 11, 2009, 10:21 AM > Hello, when I scan at bit rate higher than 8 I get corrupted > images (see links bellow). It does not matter if I use color > or grayscale. Looking at images I may guess what tiff > scanline is packed not right, but I maybe wrong. > > I can do changes and rebuild/retest backend. > > Mac OS 10.4.11 > > Command line: > scanimage --format tiff -d epson2 --mode Gray --source > "Transparency Unit" --film-type "Negative > Film" --depth 8 > 8.tiff > > (and 2 subsequent - replace 8 to 12 or 16) > > http://www.perelet.com/tmp/8.tiff > http://www.perelet.com/tmp/12.tiff > http://www.perelet.com/tmp/16.tiff > > I also placed 2 full (255) logs: > > http://www.perelet.com/tmp/8.txt.gz > http://www.perelet.com/tmp/16.txt.gz > > Thanks! > Oleg. > > > > > > > > -- > 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
