scanimage(1) SANE ( ) scanimage - scanimage [-d dev] [--format=output-format] [-i profile] [-L] [-f device-format] [-b [format]] [--batch-start=start] [--batch-count=count] [--batch-increment=increment] [--batch-double] [--accept-md5-only] [-p] [-o path] [-n] [-T] [-A] [-h] [-v] [-B size] [-V] [device-specific-options] scanimage . . scanimage . PNM (PBM - PGM PPM ) TIFF (- ) PNG JPEG ( 75). scanimage SANE (Scanner Access Now Easy) SANE ( apropos sane- ). : scanimage -L image.pnm: scanimage >image.pnm 100x100 image.tiff (-x -y ): scanimage -x 100 -y 100 --format=tiff >image.tiff : scanimage -h scanimage. scanimage . . . . --mode Gray --mode Grayscale. . . ( -d epson) "=" ( --device-name=epson). -d dev, --device-name=dev SANE `epson:/dev/sg0' `hp:/dev/usbscanner0'. () --list-devices ( ). scanimage SANE_DEFAULT_DEVICE. scanimage . --format=output-format --output-file. output-format pnm tiff png jpeg. --format PNM . -i profile, --icc-profile=profile ICC TIFF. -L, --list-devices () . ( /etc/sane.d). . . . -f format, --formatted-device-list=device-format --list-devices . scanimage %d %v %m %t %i %n . scanimage -f " scanner number %i device %d is a %t, model %m, produced by %v " : scanner number 0 device sharp:/dev/sg1 is a flatbed scanner, model JX250 SCSI, produced by SHARP --batch* . -b [format], --batch=[format] . . format out%d.pnm ( out%d.tif --format tiff out%d.png --format png out%d.jpg --format jpeg). --output-path. format printf . --batch-start=start . 1. --batch-count=count . scanimage OK. ADF. . --batch-increment=increment . . --batch-double . --batch-double 2. --batch-increment=2. --batch-prompt RETURN . . --accept-md5-only MD5. SANE saned(8) . -p, --progress scanimage . ( ). -o path, --output-file=path scanimage path . --batch. --format . . -n, --dont-scan scanimage . ( ). -T, --test scanimage SANE. sane_read() . -A, --all-options scanimage . . -h --help . . -v --verbose scanimage. . -B [size], --buffer-size=size 1MB size . -V --version scanimage SANE . DEBUG dll. : SANE_DEBUG_DLL=3 scanimage -L. scanimage SANE. . dev scanimage : scanimage --help --device-name dev --help : -l 0..218mm [0] x . -l 0 218 . 0 . y (-t) (-x) (-y). --brightness -100..100% [0] . --brightness -100 100 . 0 . --default-enhancements . --default-enhancements . . --brightness --brightness 50 --default-enhancements . --mode Lineart|Gray|Color [Gray] ( ). --mode Lineart Gray Color. Gray. . . --mode col --mode Color. --custom-gamma[=(yes|no)] [inactive] . --custom-gamma "yes" "no". "yes". . . . --custom-gamma . --help . --help. : scanimage --help --mode color . --gamma-table 0..255,... . ( ). --gamma-table 0 255. "3,4,5,6,7,8,9,10,11,12". "[0]3-[9]12". 3 12 . . "[0]3-[2]3-[6]7,[7]10-[9]6" "3,3,3,4,5,6,7,10,8,6". gamma4scanimage ( gamma4scanimage(1) ). --filename [/tmp/input.ppm] . ( ). /tmp/input.ppm. SANE_DEFAULT_DEVICE . /etc/sane.d . . ~/.sane/pass user:password:resource scanimage . 0600 . --accept-md5-only . 127 . sane(7), gamma4scanimage(1), xscanimage(1), xcam(1), xsane(1), scanadf(1), sane-dll(5), sane-net(5), sane-"backendname"(5) David Mosberger Andreas Beck Gordon Matzigkeit Caskey Dickson . sane-devel ( http://www.sane-project.org/mailing-lists.html). . 3 . . : . 10 2008 scanimage(1)