man convert man ImageMagick http://www.google.com/search?q=linux+convert+image+format
man mail echo . | mail -s "Document1" -a <scaned image> <email at address> With this little stuff, you should be able to build your own script. Nicolas Le dimanche 10 janvier 2010 ? 12:07 +0100, Josu Lazkano a ?crit : > Hello, I solve it. I use those two command and it works: > > scanimage --mode Color > Desktop/document.pnm > scanimage --mode Color --format=tiff > Desktop/document.tiff > > The problem is that both images are huge, 11.4MB. Is possible to > convert to JPEG this the scanner utility? > > Thanks for all. > > 2010/1/9 Josu Lazkano <josu.lazkano at gmail.com> > Hello, I just installed Sane and configure my scanner. I want > make a script that works this way: > > ./scan Document1 > > This will send a mail to an specific sender with the subject > Document1 with an image scanned. > > How can I scan a document from the comman-line? I need to > configure scanner options? > > I am new on this, I jut used the x-window program. > > Thanks for all and best regards.. > > -- > Josu Lazkano > > > > -- > Josu Lazkano > -- > 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
