[sane-devel] Scan from command-line
Josu Lazkano
josu.lazkano at gmail.com
Sun Jan 10 13:29:31 UTC 2010
Thanks for all. I solved this way:
#!/bin/bash
scanimage --format=tiff > $1.tiff
convert $1.tiff $1.jpg
mpack -s "$1" $1.jpg user at gmail.com
And execute this way: ./print_mail.sh Document1
Thanks for all!!!
2010/1/10 PK <djc at resiak.org>
> 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?
>>
>
> scanimage --mode Color | cjpeg >Desktop/document.jpg
>
> djc
>
--
Josu Lazkano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/sane-devel/attachments/20100110/aa9c0ebd/attachment-0001.htm>
More information about the sane-devel
mailing list