[sane-devel] Scan from command-line
stef
stef.dev at free.fr
Sun Jan 10 12:28:58 UTC 2010
Le dimanche 10 janvier 2010 12:07:30 Josu Lazkano, vous avez é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.
>
Hello,
there is no need for support in 'scanimage'. You can use other command line
tools like 'pnmtojpeg' (which part of the netpbm suite) to convert the
scanimage's output to jpeg:
scanimage --mode Color | pnmtojpeg >Desktop/document.jpg
Regards,
Stef
More information about the sane-devel
mailing list