you cannot give just any 3 letter image format to scanimage. It only accepts certain options. Check --help for a list.
allan On Fri, Oct 14, 2011 at 6:13 AM, Bertie Coopersmith <bertie at coopersmith.demon.co.uk> wrote: > This time I ran with correct (I hope) command arguments to produce > a colour image: > scanimage -f PPM --mode col > img > > The result was just the first 3 characters of a header. The output > of hd img is as follows: > 00000000 ?50 50 4d ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?|PPM| > 00000003 > > I repeated the scanimage command without arguments as follows: > scanimage > zzz.pnp > As before, the result, zzz.pnp was a good greyscale image. > > I have tried other 3-character image formats with similar results and > also with omitting the -f argument. It seems that Alexey's driver is > failing to deal with a colour image. > > Regards, Bertie > > -- > sane-devel mailing list: sane-devel at 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-request at lists.alioth.debian.org > -- "The truth is an offense, but not a sin"