|
盒子刷了armbian ,扫描仪插盒子usb口,ssh输入命令scanimage -o /etc/111/01.jpeg可以扫描,在此路径找到01.jpeg发现图片分辨率太低,而且是黑白色。请问怎样设置扫描分辨率,并且扫描成彩色?以下是输入scanimage --help后的命令行
_ _ ___ ___ ____ _ _____
/ \ _ __ ___ | | ___ / _ \ / _ \| ___|| |___ / __ _
/ _ \ | '_ ` _ \| | / __| (_) | | | |___ \| | |_ \ / _` |
/ ___ \| | | | | | | \__ \\__, | |_| |___) | |___) | (_| |
/_/ \_\_| |_| |_|_| |___/ /_/ \___/|____/|_|____/ \__,_|
Welcome to Armbian 22.11.0-trunk Bullseye with Linux 5.15.73-flippy-78+o
System load: 2% Up time: 10:11
Memory usage: 10% of 1.91G IP: 172.17.0.1 192.168.2.5
CPU temp: 41°C Usage of /: 9% of 14G
RX today: 148.2 KiB
Last login: Fri Oct 28 06:31:44 2022 from 192.168.2.2
root@armbian:~# scanimage --help
Usage: scanimage [OPTION]...
Start image acquisition on a scanner device and write image data tostandard output.
Parameters are separated by a blank from single-character options (e.g.
-d epson) and by a "=" from multi-character options (e.g. --device-name=epson).
-d, --device-name=DEVICE use a given scanner device (e.g. hp:/dev/scanner)
--format=pnm|tiff|png|jpeg file format of output file
-i, --icc-profile=PROFILE include this ICC profile into TIFF file
-L, --list-devices show available scanner devices
-f, --formatted-device-list=FORMAT similar to -L, but the FORMAT of the output
can be specified: %d (device name), %v (vendor),
%m (model), %t (type), %i (index number), and
%n (newline)
-b, --batch[=FORMAT] working in batch mode, FORMAT is `out%d.pnm' `out%d.tif'
`out%d.png' or `out%d.jpg' by default depending on --format
This option is incompatible with --output-file. --batch-start=# page number to start naming files with
--batch-count=# how many pages to scan in batch mode
--batch-increment=# increase page number in filename by #
--batch-double increment page number by two, same as
--batch-increment=2
--batch-print print image filenames to stdout
--batch-prompt ask for pressing a key before scanning a page
--accept-md5-only only accept authorization requests using md5
-p, --progress print progress messages
-o, --output-file=PATH save output to the given file instead of stdout.
This option is incompatible with --batch.
-n, --dont-scan only set options, don't actually scan
-T, --test test backend thoroughly
-A, --all-options list all available backend options
-h, --help display this help message and exit
-v, --verbose give even more status messages
-B, --buffer-size=# change input buffer size (in kB, default 32)
-V, --version print version information
Output format is not set, using pnm as a default.
Options specific to device `mustek_usb:libusb:001:002':
Scan Mode:
--mode Color|Gray|Lineart [Gray]
Selects the scan mode (e.g., lineart, monochrome, or color).
--resolution 50..1200dpi (in steps of 1) [50]
Sets the resolution of the scanned image.
--preview[=(yes|no)] [no]
Request a preview-quality scan.
Geometry:
-l 0..213.36mm [0]
Top-left x position of scan area.
-t 0..297.18mm [0]
Top-left y position of scan area.
-x 0..213.36mm [213.36]
Width of scan-area.
-y 0..297.18mm [297.18]
Height of scan-area.
Enhancement:
--threshold 0..255 [inactive]
Select minimum-brightness to get a white point
--custom-gamma[=(yes|no)] [no]
Determines whether a builtin or a custom gamma-table should be used.
--gamma-table 0..255,... [inactive]
Gamma-correction table. In color mode this option equally affects the
red, green, and blue channels simultaneously (i.e., it is an intensity
gamma table).
--red-gamma-table 0..255,... [inactive]
Gamma-correction table for the red band.
--green-gamma-table 0..255,... [inactive]
Gamma-correction table for the green band.
--blue-gamma-table 0..255,... [inactive]
Gamma-correction table for the blue band.
Type ``scanimage --help -d DEVICE'' to get list of all options for DEVICE.
List of available devices:
mustek_usb:libusb:001:002
root@armbian:~#
|

|