Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Scanner Access Now Easy

From Wikipedia, the free encyclopedia
Open source scanner application programming interface
SANE
XSane on Ubuntu (Linux)
XSane onUbuntu (Linux)
Original authorsDavid Mosberger-Tang
Andy Beck
Initial releaseNovember 27, 1996; 28 years ago (1996-11-27)[1]
Stable release
1.4.0[2] Edit this on Wikidata / 23 May 2025; 5 months ago (23 May 2025)
Repository
Operating systemMicrosoft Windows,Linux,UNIX,OS/2
LicenseGNU GPLv2 or later[3] (frontend programs),
weakened[4] GPLv2 or later[5] (backend libraries), public domain[6] (SANE standard: API & network protocol)[7]
Websitewww.sane-project.org Edit this on Wikidata

Scanner Access Now Easy (SANE) is an open-sourceapplication programming interface (API) that provides standardized access to any rasterimage scanner hardware (flatbed scanner,handheld scanner, video- and still-cameras,frame grabbers, etc.). The SANE API ispublic domain. It is commonly used onLinux.

Architecture

[edit]

SANE differs fromTWAIN in that it is cleanly separated intofrontend and backend (user programs and scanner drivers, respectively). Whereas a TWAIN driver handles theuser interface as well as communications with the scanner hardware, a SANE driver only provides aninterface with the hardware and describes a number of "options" which drive each scan.[8] Theseoptions specify parameters such as the resolution of the scan, the scan area, colour model, etc. Eachoption 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 convenientGUI interaction e.g., the scan areaoptions 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 front ends or back ends. On a host with a scanner, thesaneddaemon 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 ofdocument 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.

Graphical user interfaces

[edit]

Several user interfaces have been written to combine SANE with an easy user method of controlling it.

gscan2pdf

[edit]

gscan2pdf is an interface for scanning documents to PDF on theGNOME desktop that uses SANE to communicate with the scanner. It is available under theGPL. It includes common editing tools, e.g., for rotating or cropping pages. It is also able to performOCR using several optional OCR tools and save a searchable PDF. PDF files can be further downsampled upon saving.[9]

NAPS2

[edit]

NAPS2 is free and open source scanning software for Windows 7+ (x64, x86),[10] macOS 10.15+ (x64, arm64) and Linux (x64, arm64) (GTK 3.20+, glibc 2.27+, libsane). Saves scans PDF, TIFF, JPEG, or PNG. Optical character recognition (OCR) is available using Tesseract.[11]

Simple Scan

[edit]
Simple Scan (also called GNOME Document Scanner)

Simple Scan is a simplified GUI using SANE that is intended to be easier to use and better integrate into theGNOME desktop than XSane. It was initially written forUbuntu and is maintained by Robert Ancell ofCanonical Ltd. for Linux. Simple Scan was first fielded as part ofUbuntu 10.04 Lucid Lynx and is also used inLubuntu (until Lubuntu 18.04 LTS) andXubuntu. It is now part of theGNOME project.[12][13][14][15][16][17]

Skanlite

[edit]
SkanLite

Skanlite is a simpleimage scanning application, based on the KSane backend. Kåre Särs is the lead developer.[18] InKDE 4 Skanlite replaced Kooka of KDE 3 as default KDE scanning application.[19]

Skanlite is based on libksane, an interface provided by KDE for SANE libraries to control flatbed scanners.[20] It also works with networked scanners.[21]

SwingSane

[edit]

SwingSane is a cross-platform,Java front end for SANE, written and maintained by Roland Quast. It is available forMicrosoft Windows,Linux,Mac OS X and is licensed under the Apache 2.0 License.[22] The source code for the project can also be adapted for use with an existingSwing application.[23]

XSane

[edit]

XSane is a graphical front end for SANE written by Oliver Rauch. It is available forMicrosoft Windows,Linux,UNIX, andOS/2 and is licensed under the GNU General Public License (GPL).[24] The Windows version only allows a Windows computer to access a scanner that is attached to a Unix, OS/2 or Mac OS X network computer, but not generally to the local Windows computer. Only the "complete" sane-back-ends versions will possibly work with some scanner models connected locally.[25]

See also

[edit]

References

[edit]
  1. ^History of SANE, 2001-11-20, sane-devel@lists.alioth.debian.org Mailing list, "The first entry in ChangeLog is from 1996-11-16. The first SANE standard I know is version 0.2 from 1996-11-17. SANE 0.1 seem to have been released around 1996-11-27. The first mail on sane-devel is from 1996-12-09."
  2. ^"SANE Backends 1.4.0 released". 24 May 2025. Retrieved28 May 2025.
  3. ^"license notice placed at the top in one of the source files of the project's said repository subsection". RetrievedNovember 26, 2017.[permanent dead link]
  4. ^"sane/sane-backends - SANE backends - scanner drivers". RetrievedNovember 27, 2017.[permanent dead link]
  5. ^"license notice placed at the top in one of the source files of the project's said repository subsection". RetrievedNovember 26, 2017.[permanent dead link]
  6. ^"license notice file placed in project's repository root section". RetrievedNovember 26, 2017.[permanent dead link]
  7. ^"license notice file placed in project's repository root section". RetrievedNovember 26, 2017.[permanent dead link]
  8. ^"SANE - Introduction". Retrieved2025-02-17.
  9. ^gscantopdf."gscan2pdf - A GUI to produce PDFs or DjVus from scanned documents". Retrieved27 September 2011.
  10. ^Vanced Apps."NAPS2 Document Scanner".Microsoft Store. Redmond, Washington: Microsoft. Retrieved8 September 2025.
  11. ^Olden-Cooligan, Ben (2025)."NAPS2 - Scan documents to PDF and more".www.naps2.com. Retrieved8 September 2025.
  12. ^Ancell, Robert (May 2010)."Simple Scan". Retrieved4 June 2010.
  13. ^Canonical Ltd. (2012)."Simple Scan Development Team". Retrieved8 March 2012.
  14. ^Canonical Ltd. (2012)."Packages by project series". Retrieved8 March 2012.
  15. ^UbuntuUpdates.org (April 2010)."Package simple-scan". Archived fromthe original on 26 July 2011. Retrieved4 June 2010.
  16. ^OMG! Ubuntu! (December 2009)."Lucid to Get Scanning Tool "Simple Scan"". Retrieved4 June 2010.
  17. ^GNOME (21 March 2020)."Document Scanner".gitlab.gnome.org. Archived fromthe original on 25 October 2019. Retrieved21 March 2020.
  18. ^Skanlite, Kde.org, retrieved2012-08-23
  19. ^Kooka, Userbase.kde.org, 2012-06-10, retrieved2012-08-23
  20. ^Skanlite handbook, Docs.kde.org, 2011-11-29, retrieved2012-08-23
  21. ^Skanlite, Docs.kde.org, 2011-11-29, retrieved2012-08-23
  22. ^Quast, Roland (February 2015)."SwingSane - graphical scanning frontend". Retrieved19 February 2015.
  23. ^Quast, Roland."SwingSane project files".GitHub. Retrieved19 February 2015.
  24. ^Rauch, Oliver (February 2009)."XSane - graphical scanning frontend". Retrieved1 August 2019.
  25. ^Rauch, Oliver."XSane WIN32 version". Archived fromthe original on 22 August 2017. Retrieved24 October 2010.

External links

[edit]
Wikimedia Commons has media related toScanner Access Now Easy.
General
Software
packages
Community
Organisations
Licenses
Types and
standards
Challenges
Related
topics
Retrieved from "https://en.wikipedia.org/w/index.php?title=Scanner_Access_Now_Easy&oldid=1310336586"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp