TWAIN and TWAIN Direct are
application programming interface
An application programming interface (API) is a connection between computers or between computer programs. It is a type of software Interface (computing), interface, offering a service to other pieces of software. A document or standard that des ...
s (APIs) and
communication protocol
A communication protocol is a system of rules that allows two or more entities of a communications system to transmit information via any variation of a physical quantity. The protocol defines the rules, syntax, semantics (computer science), sem ...
s that regulate communication between
software
Software consists of computer programs that instruct the Execution (computing), execution of a computer. Software also includes design documents and specifications.
The history of software is closely tied to the development of digital comput ...
and
digital imaging
Digital imaging or digital image acquisition is the creation of a digital representation of the visual characteristics of an object, such as a physical scene or the interior structure of an object. The term is often assumed to imply or include ...
devices, such as
image scanner
An image scanner (often abbreviated to just scanner) is a device that optically scans images, printed text, handwriting, or an object and converts it to a digital image. The most common type of scanner used in the home and the office is the flatbe ...
s and
digital camera
A digital camera, also called a digicam, is a camera that captures photographs in Digital data storage, digital memory. Most cameras produced today are digital, largely replacing those that capture images on photographic film or film stock. Dig ...
s. TWAIN is supported on
Microsoft Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
,
Linux
Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
and
Mac OS X
macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
.
The three key elements of TWAIN are:
* Application software. For example,
graphics software
In computer graphics, graphics software refers to a program or collection of programs that enable a person to manipulate images or models visually on a computer.
Computer graphics can be classified into two distinct categories: raster graphics ...
, a fax application or a
word processor A word processor (WP) is a device or computer program that provides for input, editing, formatting, and output of text, often with some additional features.
Early word processors were stand-alone devices dedicated to the function, but current word ...
.
* Source manager software. The source manager software is a software library provided by the TWAIN Working Group.
*
Device drivers
In the context of an operating system, a device driver is a computer program that operates or controls a particular type of device that is attached to a computer or automaton. A driver provides a software interface to hardware devices, enabli ...
(referred to as "Source software" in the specification document)
Both the application and the device driver must support TWAIN for the interface to be successfully used.
The first release was in 1992,
and it was last updated in 2021.
It was designed with the help of a number of companies from the computer industry, to try to establish a unified standard connection interface between computers and imaging devices.
History
The design of TWAIN began in January 1991. The TWAIN group was originally launched in 1992 by several members of the imaging industry, with the intention of standardizing communication between image handling software and hardware. Review of the original TWAIN Developer's Toolkit occurred from April, 1991 through January, 1992.
On September 19, 2019, the TWAIN Working Group announced TWAIN Direct 1.0 which is a RESTful API version of the TWAIN specification.
Name origin
The word ''TWAIN'' is not officially an
acronym
An acronym is a type of abbreviation consisting of a phrase whose only pronounced elements are the initial letters or initial sounds of words inside that phrase. Acronyms are often spelled with the initial Letter (alphabet), letter of each wor ...
, but it is a
backronym
A backronym is an acronym formed from an already existing word by expanding its letters into the words of a phrase. Backronyms may be invented with either serious or humorous intent, or they may be a type of false etymology or folk etymology. The ...
. The official website notes that "the word TWAIN is from
Kipling's "
The Ballad of East and West" — '...and never the twain shall meet...' — reflecting the difficulty, at the time, of connecting scanners and
personal computer
A personal computer, commonly referred to as PC or computer, is a computer designed for individual use. It is typically used for tasks such as Word processor, word processing, web browser, internet browsing, email, multimedia playback, and PC ...
s.
It was up-cased to TWAIN to make it more distinctive. This led people to believe it was an acronym, and then to a contest to come up with an expansion. None was selected, but the entry ''Technology Without an Interesting Name'' continues to haunt the standard.
For example, the ''Encyclopedia of Information Technology'' lists "Technology Without an Interesting Name" as the official meaning of TWAIN.
Objectives
Objectives of the TWAIN Working Group and standard include:
* Ensure image-handling software and hardware compatibility
* Keep the specification current with the state of current software and hardware while maintaining backward compatibility
* Provide multiple-platform support
* Maintain and distribute a no-charge developer's toolkit
* Ensure ease of implementation
* Encourage widespread adoption
* Open Source Data Source Manager
* LGPL Open Source License
* BSD Open Source Sample Application and Sample Data Source Application
TWAIN provides support for:
* Production, high-speed scanning
*
ICC Color profiles
*
Digital camera
A digital camera, also called a digicam, is a camera that captures photographs in Digital data storage, digital memory. Most cameras produced today are digital, largely replacing those that capture images on photographic film or film stock. Dig ...
s
* Multiple
operating system
An operating system (OS) is system software that manages computer hardware and software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ...
platforms including
Windows
Windows is a Product lining, product line of Proprietary software, proprietary graphical user interface, graphical operating systems developed and marketed by Microsoft. It is grouped into families and subfamilies that cater to particular sec ...
,
classic Mac OS
Mac OS (originally System Software; retronym: Classic Mac OS) is the series of operating systems developed for the Mac (computer), Macintosh family of personal computers by Apple Computer, Inc. from 1984 to 2001, starting with System 1 and end ...
,
macOS
macOS, previously OS X and originally Mac OS X, is a Unix, Unix-based operating system developed and marketed by Apple Inc., Apple since 2001. It is the current operating system for Apple's Mac (computer), Mac computers. With ...
, and
Linux
Linux ( ) is a family of open source Unix-like operating systems based on the Linux kernel, an kernel (operating system), operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically package manager, pac ...
TWAIN Working Group
Today the TWAIN standard, including the specification, data source manager and sample code, are maintained by the
not-for-profit
A not-for-profit or non-for-profit organization (NFPO) is a Legal Entity, legal entity that does not distribute surplus funds to its members and is formed to fulfill specific objectives.
While not-for-profit organizations and Nonprofit organ ...
organization TWAIN Working Group.
Board and associate members of the TWAIN Working Group include:
Atalasoft a Kofax Company
DynamsoftEpsonExactCODEGmbH
FujitsuHewlett-PackardICE Health SystemsInoTecGmbH
Kodak Alaris*
Microtek International, Inc.
P3iD Technologies Inc.PDF AssociationPlustekVisioneer, Inc.
See also
*
Windows Image Acquisition
*
Scanner Access Now Easy (SANE)
*
Image and Scanner Interface Specification (ISIS)
References
External links
TWAIN Working GroupTWAIN Direct project
{{DEFAULTSORT:Twain
Application programming interfaces
Computing input devices
Image scanning