- Scanner Access Now Easy
Infobox Software
name = XSane
caption = XSane onubuntu (Linux)
collapsible =
author =
developer =
released =
latest release version = 0.995
latest release date =
latest preview version =
latest preview date =
frequently updated =
programming language =
operating system =Microsoft Windows ,Linux ,UNIX ,OS/2
platform =
size =
language =
status =
genre =
license = GNU General Public License (GPL)
website = [http://www.xsane.org/ www.xsane.org]Scanner Access Now Easy (SANE) is an
application programming interface (API) that provides standardized access to any rasterimage scanner hardware (flatbed scanner,handheld scanner, video- and still-cameras,frame grabber s, etc.). The SANE API ispublic domain and its discussion and development is open to everybody. It is commonly used onLinux .SANE differs from
TWAIN in that it is cleanly separated intofrontend s (user programs) andbackend s (scanner drivers). Whereas a TWAIN driver handles the user interface as well as communications with the scanner hardware, a SANE driver only provides an interface with the hardware and describes a number of "options" which drive each scan. These "options" specify parameters such as the resolution of the scan, the scan area, colour model, etc. Each "option" has a name, and information about its type, units, and range or possible values (e.g enumerated list). By convention there are several "well known" "options" that frontends can supply using convenient GUI interaction e.g. the scan area "options" can be set by dragging a rectangular outline over a preview image. Other options can be presented using GUI elements appropriate to their type e.g. sliders, drop-down lists, etc.One consequence of this separation is that network scanning is easily implemented with no special handling in either the frontends or backends. On a host with a scanner, the saned daemon runs and handles network requests. On client machines a "net" backend (driver) connects to the remote host to fetch the scanner options, and perform previews and scans. The saned daemon acts as a frontend locally, but simply passes requests and data between the network connections and the local scanner. Similarly, the "net" backend passes requests and data between the local frontend and the remote host.
Various types of unsupervised batch scanning are also possible with a minimum of support needed in the backend (driver). Many scanners support the attachment of document feeders which allow a large number of sheets of paper to be automatically scanned in succession. Using the SANE API, the frontend simply has to "play back" the same set of options for each scan, driving the document feed in between scans to load the next sheet of paper. The frontend only has to obtain the set of options from the user once.
XSane
XSane is a graphical frontend for SANE.
See also
*
ISIS -Proprietary industry standard interface.
*TWAIN - Software API for local drivers that are bundled with control GUI.
*Windows Image Acquisition (WIA) - Proprietary API from Microsoft.External links
* [http://www.sane-project.org/ Official SANE website]
* [http://www.xsane.org/ XSANE] , aGTK+ -based X frontend for SANE, WIN32 (Windows 9x/ME/NT/2000/XP) and OS/2 binary & source available
* [http://www.gnome.sk/Twain/jtp.html Image Acquisition Framework for Java]
* [http://www.sane-project.org/sane-backends.html sane backends list]
* [http://today.java.net/pub/a/today/2005/04/11/twain.html Java Tech: Acquire Images with TWAIN and SANE, Part 3] by Jeff Friesen 04/11/2005
Wikimedia Foundation. 2010.