man: grammar and formatting for gamma4scanimage.man and sane.man

merge-requests/603/head
Ralph Little 2021-01-30 12:25:09 -08:00
rodzic ab945b1a89
commit 742989b658
2 zmienionych plików z 82 dodań i 79 usunięć

Wyświetl plik

@ -26,30 +26,40 @@ and maximum output value
of the gamma table.
.PP
.BR gamma
is a floating point value, neutral value is 1.0, if the value is larger than
1.0 then the image gets brighter.
is a floating point value, neutral value being 1.0. If the value is larger than
1.0 then the image is brighter.
.PP
.BR shadow
defines the minimum input value that is necessary to create an output value
larger than zero. shadow has to be in the range [0..maxin]. Its default value
larger than zero. shadow has to be in the range [0..\fBmaxin\fR]. Its default value
is 0.
.PP
.BR highlight
defines the maximum input value that produces an output value smaller than
maxout. highlight has to be in the range [0..maxin], highlight has to be
larger than shadow. Its default value is the same as maxin (16383 if not set).
maxout. highlight must be in the range [0..maxin] and
larger than shadow. Its default value is the same as
.RB maxin
(16383 if not set).
.PP
.BR maxin
defines the size of the gamma table. The size depends on the scanner/backend.
If the scanner uses 8 bits gamma input then maxin has to be set to 255, for 10
bits 1023, for 12 bits 4095, for 14 bits 16383. The default is 16383. To find
out what value maxin has to be call scanimage with a very large gamma table
[0]0-[99999]255 then scanimage prints an error message with the needed size of
the gamma table.
If the scanner uses 8 bit gamma input then
.RB maxin
must be set to 255, 1023 for 10
bits, 4095 for 12 bits, and 16383 for 14 bits. The default is 16383. To find
out what value
.RB maxin
has to be, call
.B scanimage
with a very large gamma table
[0]0-[99999]255 and
.B scanimage
will print an error message with the needed gamma table size.
.PP
.BR maxout
defines the maximum output value. Take a look at the output of scanimage \-h to
find out what maxout has to be. The default value is 255.
defines the maximum output value. Take a look at the output of
.B scanimage \-h
to find out what maxout must be. The default value is 255.
.PP
.SH EXAMPLE
.B scanimage \-\-custom\-gamma=yes \-\-gamma\-table

Wyświetl plik

@ -40,11 +40,11 @@ provides some means to manage one or more other backends.
.SH "SOFTWARE PACKAGES"
The package
.RB ` sane\-backends '
contains a lot of backends, documentation, networking support, and the
contains backends, documentation, networking support, and the
command line frontend
.RB ` scanimage '.
.RB ` scanimage(1) '.
The frontends
.RB ` xscanimage "', `" xcam "', and `" scanadf '
.RB ` xscanimage(1) "', `" xcam(1) "', and `" scanadf(1) '
are included in the package
.RB ` sane\-frontends '.
Both packages can be downloaded from the
@ -87,7 +87,7 @@ supported or unsupported), please contact us. See section HOW CAN YOU HELP
SANE for details. There are lists for specific releases of SANE, for the
current development version and a search engine:
.IR http://www.sane\-project.org/sane\-supported\-devices.html .
The lists are also installed on your system at @DOCDIR@/.
The lists are also installed on your system at \fI@DOCDIR@/\fR.
.TP
.B SANE mailing list
There is a mailing list for the purpose of discussing the SANE standard and its
@ -136,7 +136,7 @@ available on the local host. See
.BR saned (8).
.TP
.B sane\-find\-scanner
Command-line tool to find SCSI and USB scanners and determine their Unix
Command-line tool to find SCSI and USB scanners and determine their UNIX
device files. See
.BR sane\-find\-scanner (1).
.PP
@ -150,7 +150,7 @@ and the frontend information page at
.SH "BACKENDS FOR SCANNERS"
.TP 2
.B abaton
The SANE backend for Abaton flatbed scanners supports the Scan 300/GS (8bit,
The backend for Abaton flatbed scanners supports the Scan 300/GS (8bit,
256 levels of gray) and the Scan 300/S (black and white, untested). See
.BR sane\-abaton (5)
for details.
@ -162,26 +162,26 @@ See
for details.
.TP
.B apple
The SANE backend for Apple flatbed scanners supports the following scanners:
The backend for Apple flatbed scanners supports the following scanners:
AppleScanner, OneScanner and ColorOneScanner. See
.BR sane\-apple (5)
for details.
.TP
.B artec
The SANE Artec backend supports several Artec/Ultima SCSI flatbed scanners as
The Artec backend supports several Artec/Ultima SCSI flatbed scanners as
well as the BlackWidow BW4800SP and the Plustek 19200S. See
.BR sane\-artec (5)
for details.
.TP
.B artec_eplus48u
The SANE artec_eplus48u backend supports the scanner Artec E+ 48U and re-badged
The artec_eplus48u backend supports the scanner Artec E+ 48U and re-badged
models like Tevion MD 9693, Medion MD 9693, Medion MD 9705 and Trust Easy
Webscan 19200. See
.BR sane\-artec_eplus48u (5)
for details.
.TP
.B as6e
This is a SANE backend for using the Artec AS6E parallel port interface
This backend supports the Artec AS6E parallel port interface
scanner. See
.BR sane\-as6e (5)
for details.
@ -233,15 +233,9 @@ This backend provides support for Corex Cardscan USB scanners. See
.BR sane\-cardscan (5)
for details.
.TP
.B coolscan
This is a SANE backend for Nikon Coolscan film-scanners. See
.BR sane\-coolscan (5)
for details.
.TP
.B coolscan2
This is a SANE backend for Nikon Coolscan film-scanners.
See
.BR sane\-coolscan2 (5)
.B coolscan coolscan2 coolscan3
These backends provide support for Nikon Coolscan film-scanners. See
.BR sane\-coolscan "(5), " sane\-coolscan2 "(5) and " sane\-coolscan3 (5)
for details.
.TP
.B epjitsu
@ -250,7 +244,7 @@ The epjitsu backend provides support for Epson-based Fujitsu USB scanners. See
for details.
.TP
.B epson
The SANE epson backend provides support for Epson SCSI, parallel port and USB
The epson backend provides support for Epson SCSI, parallel port and USB
flatbed scanners. See
.BR sane\-epson (5)
for details.
@ -277,68 +271,68 @@ and Trust scanners are also supported. See
for details.
.TP
.B hp
The SANE hp backend provides access to Hewlett-Packard ScanJet scanners which
The hp backend provides access to Hewlett-Packard ScanJet scanners which
support SCL (Scanner Control Language by HP). See
.BR sane\-hp (5)
for details.
.TP
.B hpsj5s
The SANE backend for the Hewlett-Packard ScanJet 5S scanner. See
The backend for the Hewlett-Packard ScanJet 5S scanner. See
.BR sane\-hpsj5s (5)
for details.
.TP
.B hp3500
The SANE backend for the Hewlett-Packard ScanJet 3500 series. See
The backend for the Hewlett-Packard ScanJet 3500 series. See
.BR sane\-hp3500 (5)
for details.
.TP
.B hp3900
The SANE backend for the Hewlett-Packard ScanJet 3900 series. See
The backend for the Hewlett-Packard ScanJet 3900 series. See
.BR sane\-hp3900 (5)
for details.
.TP
.B hp4200
The SANE backend for the Hewlett-Packard ScanJet 4200 series. See
The backend for the Hewlett-Packard ScanJet 4200 series. See
.BR sane\-hp4200 (5)
for details.
.TP
.B hp5400
The SANE backend for the Hewlett-Packard ScanJet 54XXC series. See
The backend for the Hewlett-Packard ScanJet 54XXC series. See
.BR sane\-hp5400 (5)
for details.
.TP
.B hpljm1005
The SANE backend for the Hewlett-Packard LaserJet M1005 scanner. See
The backend for the Hewlett-Packard LaserJet M1005 scanner. See
.BR sane\-hpljm1005(5)
for details.
.TP
.B hs2p
The SANE backend for the Ricoh IS450 family of SCSI scanners. See
The backend for the Ricoh IS450 family of SCSI scanners. See
.BR sane\-hs2p (5)
for details.
.TP
.B ibm
The SANE backend for some IBM and Ricoh SCSI scanners. See
The backend for some IBM and Ricoh SCSI scanners. See
.BR sane\-ibm (5)
for details.
.TP
.B kodak
The SANE backend for some large Kodak scanners. See
The backend for some large Kodak scanners. See
.BR sane\-kodak (5)
for details.
.TP
.B kodakaio
The SANE backend for Kodak AiO printer/scanners. See
The backend for Kodak AiO printer/scanners. See
.BR sane\-kodakaio (5)
for details.
.TP
.B kvs1025
The SANE backend for Panasonic KV-S102xC scanners. See
The backend for Panasonic KV-S102xC scanners. See
.BR sane\-kvs1025 (5)
for details.
.TP
.B leo
This backend supports the Leo S3 and the Across FS-1130, which is a re-badged
This backend supports the LEO S3 and the Across FS-1130, which is a re-badged
LEO FS-1130 scanner. See
.BR sane\-leo (5)
for details.
@ -376,7 +370,7 @@ SCSI-2 command set. See
for details.
.TP
.B mustek
The SANE mustek backend supports most Mustek SCSI flatbed scanners including the
The mustek backend supports most Mustek SCSI flatbed scanners including the
Paragon and ScanExpress series and the 600 II N and 600 II EP (non-SCSI). Some
Trust scanners are also supported. See
.BR sane\-mustek (5)
@ -401,7 +395,7 @@ chipset like the Mustek BearPaw 2448 TA Pro USB flatbed scanner. See
for details.
.TP
.B nec
The SANE nec backend supports the NEC PC-IN500/4C SCSI scanner. See
The nec backend supports the NEC PC-IN500/4C SCSI scanner. See
.BR sane\-nec (5)
for details.
.TP
@ -412,7 +406,7 @@ The niash backend supports the Agfa Snapscan Touch and the HP ScanJet 3300c,
for details.
.TP
.B p5
The SANE backend for Primax PagePartner. See
The backend for Primax PagePartner. See
.BR sane\-p5 (5)
for details.
.TP
@ -430,7 +424,7 @@ CanoScan series. See
for details.
.TP
.B plustek
The SANE plustek backend supports USB flatbed scanners that use the National
The plustek backend supports USB flatbed scanners that use the National
Semiconductor LM983[1/2/3] chipset aka Merlin. Scanners using this LM983x chips
include some models from Plustek, KYE/Genius, Hewlett-Packard, Mustek, Umax,
Epson, and Canon. See
@ -438,7 +432,7 @@ Epson, and Canon. See
for details.
.TP
.B plustek_pp
The SANE plustek_pp backend supports Plustek parallel port flatbed scanners.
The plustek_pp backend supports Plustek parallel port flatbed scanners.
Scanners using the Plustek ASIC P96001, P96003, P98001 and P98003 include some
models from Plustek, KYE/Genius, Primax. See
.BR sane\-plustek_pp (5)
@ -467,17 +461,17 @@ The sceptre backend provides access to the Sceptre S1200 flatbed scanner. See
for details.
.TP
.B sharp
The SANE sharp backend supports Sharp SCSI scanners. See
The sharp backend supports Sharp SCSI scanners. See
.BR sane\-sharp (5)
for details.
.TP
.B sm3600
The SANE sm3600 backend supports the Microtek ScanMaker 3600 USB scanner. See
The sm3600 backend supports the Microtek ScanMaker 3600 USB scanner. See
.BR sane\-sm3600 (5)
for details.
.TP
.B sm3840
The SANE sm3840 backend supports the Microtek ScanMaker 3840 USB scanner. See
The sm3840 backend supports the Microtek ScanMaker 3840 USB scanner. See
.BR sane\-sm3840 (5)
for details.
.TP
@ -492,49 +486,49 @@ This backend supports the Fujitsu FCPA ScanPartner 15C flatbed scanner. See
for details.
.TP
.B st400
The sane\-st400 backend provides access to Siemens ST400 and ST800. See
The st400 backend provides access to Siemens ST400 and ST800. See
.BR sane\-st400 (5)
for details.
.TP
.B tamarack
The SANE tamarack backend supports Tamarack Artiscan flatbed scanners. See
The tamarack backend supports Tamarack Artiscan flatbed scanners. See
.BR sane\-tamarack (5)
for details.
.TP
.B teco1 teco2 teco3
The SANE teco1, teco2 and teco3 backends support some TECO scanners,
The teco1, teco2 and teco3 backends support some TECO scanners,
usually sold under the Relisys, Trust, Primax, Piotech, Dextra
names. See
.BR sane\-teco1 "(5), " sane\-teco2 "(5) and " sane\-teco3 (5)
for details.
.TP
.B u12
The sane\-u12 backend provides USB flatbed scanners based on Plustek's ASIC 98003
The u12 backend provides USB flatbed scanners based on Plustek's ASIC 98003
(parallel-port ASIC) and a GeneSys Logics' USB-parport bridge chip like the
Plustek OpticPro U(T)12. See
.BR sane\-u12 (5)
for details.
.TP
.B umax
The sane\-umax backend provides access to several UMAX-SCSI-scanners and some
The umax backend provides access to several UMAX-SCSI-scanners and some
Linotype Hell SCSI-scanners. See
.BR sane\-umax (5)
for details.
.TP
.B umax_pp
The sane\-umax_pp backend provides access to Umax parallel port flatbed scanners
The umax_pp backend provides access to Umax parallel port flatbed scanners
and the HP 3200C. See
.BR sane\-umax_pp (5)
for details.
.TP
.B umax1200u
The sane\-umax1220u backend supports the UMAX Astra 1220U (USB) flatbed scanner
The umax1220u backend supports the UMAX Astra 1220U (USB) flatbed scanner
(and also the UMAX Astra 2000U, sort of). See
.BR sane\-umax1220u (5)
for details.
.TP
.B xerox_mfp
The sane\-xerox_mfp backend supports multiple Samsung-based Samsung, Xerox, and Dell
The xerox_mfp backend supports multiple Samsung-based Samsung, Xerox, and Dell
scanners. See
.BR sane\-xerox_mfp (5)
for details.
@ -552,15 +546,15 @@ Backend for Kodak DC210 Digital Camera. See
.TP
.B dc240
Backend for Kodak DC240 Digital Camera. See
.BR sane\-dc240 (5).
.BR dc240 (5).
.TP
.B dc25
Backend for Kodak DC20/DC25 Digital Cameras. See
.BR sane\-dc25 (5).
.BR dc25 (5).
.TP
.B dmc
Backend for the Polaroid Digital Microscope Camera. See
.BR sane\-dmc (5).
.BR dmc (5).
.TP
.B gphoto2
Backend for digital cameras supported by the gphoto2 library package. (See
@ -570,15 +564,15 @@ for more information and a list of supported cameras.) Gphoto2 supports over
testing is needed before all of these cameras will be supported by
.B SANE
backend. See
.BR sane\-gphoto2 (5).
.BR gphoto2 (5).
.TP
.B qcam
Backend for Connectix QuickCam cameras. See
.BR sane\-qcam (5).
.BR qcam (5).
.TP
.B stv680
The sane\-stv680 backend provides access to webcams with a stv680 chip. See
.BR sane\-stv680 (5)
The stv680 backend provides access to webcams with a stv680 chip. See
.BR stv680 (5)
for details.
.PP
Also, have a look at the backend information page at
@ -589,7 +583,7 @@ and the list of projects in
.SH "MISCELLANEOUS BACKENDS"
.TP 2
.B dll
The sane\-dll library implements a
The dll library implements a
.B SANE
backend that provides access to an arbitrary number of other
.B SANE
@ -628,7 +622,7 @@ installation. It provides test pictures and various test options. See
.BR sane\-test (5).
.TP
.B v4l
The sane\-v4l library implements a
The v4l library implements a
.B SANE
backend that provides generic access to video cameras and similar equipment
using the
@ -742,7 +736,7 @@ Some backends are commented out by default. Remove the comment sign for your
backend in this case. Also some backends aren't compiled at all if one of their
prerequisites are missing. Examples include dc210, dc240, canon_pp, hpsj5s,
gphoto2, pint, qcam, v4l, net, sm3600, snapscan, pnm. If you need one of these
backends and they aren't available, read the build instructions in the
backends and it isn't available, read the build instructions in the
.B README
file and the individual manual pages of the backends.
.PP
@ -762,9 +756,7 @@ debugging. The environment variables are documented in the
relevant manual pages. For example, to get the maximum amount of debug
information when testing a Mustek SCSI scanner, set environment variables
.BR SANE_DEBUG_DLL ", " SANE_DEBUG_MUSTEK ", and " SANE_DEBUG_SANEI_SCSI
to 128 and then invoke
.B scanimage
.B \-L .
to 128 and then invoke \fBscanimage \-L\fR.
The debug messages for the dll backend tell if the mustek backend was found
and loaded at all. The mustek messages explain what the mustek backend is
doing while the SCSI debugging shows the low level handling. If you can't find
@ -798,11 +790,11 @@ You should get a list of PASSed tests. You can do the same with your backend
by changing "test" to your backend's name.
.PP
So now scanning with
.B scanimage
.B scanimage(1)
works and you want to use one of the graphical frontends like
.BR xsane ,
.BR xscanimage ", or"
.B quiteinsane
.BR xsane(1) ,
.BR xscanimage(1) ", or"
.B quiteinsane(1)
but those frontends don't detect your scanner? One reason may be that you
installed two versions of
.BR SANE .
@ -863,8 +855,9 @@ for details).
.BR sane\-canon_dr (5),
.BR sane\-canon_pp (5),
.BR sane\-cardscan (5),
.BR sane\-coolscan2 (5),
.BR sane\-coolscan (5),
.BR sane\-coolscan2 (5),
.BR sane\-coolscan3 (5),
.BR sane\-dc210 (5),
.BR sane\-dc240 (5),
.BR sane\-dc25 (5),