return to first page linux journal archive
keywordscontents

Listing 1.

Usage: scanimage [OPTION]...

Start image acquisition on a scanner device and write PNM image data to
standard output.

-d, --device-name=DEVICE	use a given scanner device
-h, --help	display this help message and exit
-L, --list-devices	show available scanner devices
-v, --verbose	give even more status messages
-V, --version	print version information

Options specific to device `pnm':
  Source Selection:
    --filename <string> [/tmp/input.ppm]
        The filename of the image to be loaded.
  Image Enhancement:
    --brightness -100...100% [0]
        Controls the brightness of the acquired image.
    --contrast -100...100% [0]
        Controls the contrast of the acquired image.
    --grayify[=(yes|no)] [no]
        Load the image as grayscale.
    --three-pass[=(yes|no)] [no]
        Simulate a three-pass scanner by returning 3 separate frames.  For
        kicks, it returns green, then blue, then red.
    --hand-scanner[=(yes|no)] [no]
        Simulate a hand-scanner.  Hand-scanners often do not know the image
        height a priori.  Instead, they return a height of -1.  Setting this
        option allows one to test whether a front end can handle this correctly.
    --default-enhancements
        Set default values for enhancement controls (brightness & contrast).