Hello Rainer, I have actually discovered yet another trick with the blue pixels: the pixel's blue RGB value is not random; in fact it even signals the end of the document (170 when there are pages left to be scanned, and 255 at the end of the document).
In the meantime, I have also wrote a Perl script using ImageMagick to crop the images properly. Still, it would be nice having the driver do that automatically. ADF with 150 dpi does not look bad at all on my end. Best, Augusto Rainer Keller wrote: > Hello Augusto, > > I tried to handle the blue pixel as a page change. > Additional lines will be skipped until the blue pixel is found. > But now the scanimage tool will not terminate properly, maybe because just > skipping lines like I do is not the correct way to do this. > > See attached patch. > > Given the complexity of the sane code and limited spare time I tend more to > write a new frontend to handle the page change marker. It could then also > handle the mirrored backsides. > > I tested it with duplex and 300 dpi. > > BTW, have you tried using the ADF with 150 dpi? For me the scanned images are > all bad. > > - Rainer > -- sane-devel mailing list: sane-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel Unsubscribe: Send mail with subject "unsubscribe your_password" to sane-devel-requ...@lists.alioth.debian.org