2025-03-14 21:59:59 -06:00
|
|
|
# scanimage
|
|
|
|
|
|
|
|
|
|
> Scan images with the Scanner Access Now Easy API.
|
|
|
|
|
> More information: <http://sane-project.org/man/scanimage.1.html>.
|
|
|
|
|
|
|
|
|
|
- List available scanners to ensure the target device is connected and recognized:
|
|
|
|
|
|
2025-05-08 12:26:01 -06:00
|
|
|
`scanimage {{[-L|--list-devices]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Scan an image and save it to a file:
|
|
|
|
|
|
2025-12-16 10:20:31 -07:00
|
|
|
`scanimage --format {{pnm|tiff|png|jpeg|pdf|...}} > {{path/to/new_image}}`
|
|
|
|
|
|
|
|
|
|
- Specify the device to scan from:
|
|
|
|
|
|
|
|
|
|
`scanimage {{[-d|--device]}} {{device_name}} > {{path/to/new_image}}`
|
|
|
|
|
|
|
|
|
|
- Specify resolution for the scanned image (default resolution is 75dpi):
|
|
|
|
|
|
|
|
|
|
`scanimage --resolution {{300}} > {{path/to/new_image}}`
|