xscanimage - scan an image
provides a graphical user-interface to control an image
acquisition device such as a flatbed scanner or a camera. It allows
previewing and scanning invidual images and can be invoked either
directly from the command-line or through The GIMP image manipulation
program. In the former case,
acts as a stand-alone program that saves acquired images in a suitable
PNM format (PBM for black-and-white images, PGM for grayscale images,
and PPM for color images). In the latter case, the images are
directly passed to The GIMP for further processing.
accesses image acquisition devices through the SANE (Scanner Access
Now Easy) interface. The list of available devices depends on
installed hardware and configuration. When invoked without an
explicit devicename argument,
presents a dialog listing of all known and available devices. If the
environment variable SANE_DEFAULT_DEVICE is set to the devicename the device
is preselected in the dialog. To access an available device that is not known
to the system, the devicename must be specified explicitly. The format of
devicename is backendname:devicefile (e.g. umax:/dev/sga).
RUNNING UNDER THE GIMP
simply copy it to one of the
plug-ins directories. If you want to conserve disk-space, you can
create a symlink instead. For example, for gimp-1.0.x the command
ln -s /usr/bin/xscanimage ~/.gimp/plug-ins/
and for gimp-1.1.x the command
ln -s /usr/bin/xscanimage ~/.gimp-1.1/plug-ins/
adds a symlink for the
binary to the user's plug-ins directory. After creating this symlink,
will be queried by
the next time it's invoked. From then on,
can be invoked through "Xtns->Acquire Image->Device dialog..." menu entry.
You'll also find that the "Xtns->Acquire Image" menu contains short-cuts
to the SANE devices that were available at the time the
was queried. For example, the first PNM pseudo-device is typically
available as the short-cut "Xtns->Acquire Image->pnm:0".
caches these short-cuts in ~/.gimp/pluginrc. Thus, when the list of
available devices changes (e.g., a new scanner is installed), then it
is typically desirable to rebuild this cache. To do this, you can
binary (e.g., "touch /usr/bin/xscanimage") or delete the plug-ins cache
(e.g., "rm ~/.gimp/plug-ins"). Either way, invoking
afterwards will cause the pluginrc to be rebuilt.
option is given,
will output its version number.
flag prints a short summary of options.
flag selects the X11 display used to present the graphical user-interface
flag requests not to use shared memory images. Shared memory images
usually enhance performance but cause problems with some buggy X11
servers. Unless your X11 server dies when running this program, there
is no need or advantage to specify this flag.
flag requests a synchronous connection with the X11 server. This is for
debugging purposes only.
The default device-name. Example: SANE_DEFAULT_DEVICE="hp:/dev/scanner".
This environment variable controls the debug level xscanimage. Higher
debug levels increase the verbosity of the output.
0 print fatal errors
1 print errors
2 print warnings
3 print information messages
4 print everything
This files holds the user preferences. Normally, this file should not
be manipulated directly. Instead, the user should customize the
program through the "Preferences" dialog.
For each device, there is one rc-file that holds the saved settings
for that particular device. Normally, this file should not be
manipulated directly. Instead, the user should use the
interface to select appropriate values and then save the device
settings using the "Preferences->Save Device Settings" menubar entry.
After acquiring a preview,
normally saves the preview image in this device-specific file. Thus,
next time the program is started up, the program can present the old
preview image. This feature can be turned off through the
"Preferences->Preview Options..." dialog.
This system-wide file controls the aspects of the user-interface such
as colors and fonts. It is a GTK style file and provides fine control
over the visual aspects of the user-interface.
This file serves the same purpose as the system-wide style file. If
present, it takes precedence over the system wide style file.
sane(7), gimp(1), xcam(1), scanimage(1), sane-scsi(5), sane-dll(5),
Tristan Tarrant, Andreas Beck, David Mosberger, and Henning Meier-Geinitz
- RUNNING UNDER THE GIMP
- SEE ALSO
This document was created by
using the manual pages.
Time: 04:40:53 GMT, August 10, 2002