[Information Coding Laboratory]

Scanner Utility

Description

There are two client programs that allow access from remote machines: nscan and xnscan. nscan is a command-line client which simply dumps the data into the file specified. There are several options to control scan parameters - see the man page for details.

The other program, xnscan, is an X windows version of the nscan program. It allows previewing to make adjusting the parameters easier. Both programs may not be on all machines right now but should be available in the near future.

Both programs store the image data in pnm formats (i.e. pbm, pgm, ppm). They are just for getting the raw image data from the scanner and into a file. Further manipulations and compression of these files can be accomplished using other programs such as XV, photoshop, netpbm utilities, etc.

Availability

Both programs have been built for the Linux and Sun platforms only. They are currently installed only on Zeger Group machines.

Instructions for Use

nscan

  1. Place the image to be scanned on the scanner.
  2. Type % nscan [options] [output filename].

valid options are:

-S [scanner_name] Choose scanner
-dpi sets x & y scan resolution in dots per inch
-xdpi sets x scan resolution only (default 100)
-ydpi sets y scan resolution only (default 100)
-xres sets desired number of x-pixels on output image
-yres sets desired number of y-pixels on output image
-in specify scan region in inches (default)
-cm specify scan region in centimeters
-mm specify scan region in millimeters
-x specify upper left x of scan region (default 0.0)
-y specify upper left y of scan region (default 0.0)
-width specify width of scan region (default 8.5in)
-height specify height of scan region (default 11.0in)
-bright specify brightness adjustment (-1.0 to 1.0, default 0.0)
-cont specify contrast adjustment (-1.0 to 1.0, default 0.0)
-load read parameter settings from file
-save save current parameter settings to file
-format pixel format: thresholded, dithered, greyscale, color

xnscan

  1. Place the image to be scanned on the scanner.
  2. Type % xnscan.
  3. Use the GUI interface.
There is a man page on xnscan here.
Welcome · Projects · People · Papers · Calendar · Links · Internal
© 1997 Information Coding Laboratory
Send comments to www@code.ucsd.edu

Last Updated: $Date: 1997/11/21 23:04:52 $