scanimage

Scan images with the Scanner Access Now Easy API. More information: <http://sane-project.org/man/scanimage.1.html>.

Install

All systems
curl cmd.cat/scanimage.sh
Debian Debian
apt-get install sane-utils
Ubuntu
apt-get install sane-utils
Arch Arch Linux
pacman -S sane
image/svg+xml Kali Linux
apt-get install sane-utils
CentOS
yum install sane-backends
Fedora
dnf install sane-backends
Windows (WSL2)
sudo apt-get update sudo apt-get install sane-utils
OS X
brew install sane-backends
Raspbian
apt-get install sane-utils

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:
    scanimage -L
  • Scan an image and save it to a file:
    scanimage --format=pnm|tiff|png|jpeg > path/to/new_image

© tl;dr; authors and contributors