Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
26
rated 0 times [  26] [ 0]  / answers: 1 / hits: 25151  / 1 Year ago, thu, april 20, 2023, 11:27:28

I want to be able to scan from the terminal and then send the scanned output to a specific directory. Can this be done from the terminal.


More From » 11.10

 Answers
2

scanimage is installed by default.



And here's me using it:



$ scanimage -L
device `epson2:libusb:002:003' is a Epson PID 084F flatbed scanner

$ scanimage -d "epson2:libusb:002:003" --format tiff > rawr.tiff


Obviously that generates a tiff-formatted file. Lossless but usually quite vast. You can convert this down withou an intermediary file by installing imagemagick and then piping the scan output into the convert command:



$ scanimage -d "epson2:libusb:002:003" --format=tiff | convert tiff:- scan.jpg

[#40210] Friday, April 21, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
teromato

Total Points: 139
Total Questions: 102
Total Answers: 100

Location: Liechtenstein
Member since Mon, May 15, 2023
1 Year ago
;