TWAIN is a standard software protocol and applications programming interface (API) that regulates communication between software applications and imaging devices such as scanners and digital cameras.
Questions tagged [twain]
282 questions
6
votes
1 answer
How can I scan and transfer images from a document feeder asynchronously
Which parts of the communication with TWAIN can be put into another thread, e.g. a BackgroundWorker?
Or:
Is it possible to split the loop that handles the image transfer?
Some scanner drivers scan all images before returning to the calling…

matthias.lukaszek
- 2,200
- 1
- 23
- 33
6
votes
4 answers
Cannot read second page scanned via ADF
I have a Brother mutlifunction networked printer/scanner/fax (model MFC-9140CDN). I am trying to use the following code with WIA, to retrieve items scanned in with the document feeder:
const int FEEDER = 1;
var manager=new DeviceManager();
var…

Zev Spitz
- 13,950
- 6
- 64
- 136
6
votes
4 answers
Which is the best .NET image capture API for me to use?
I have been tasked with integrating image acquisition into a .NET application and I have been looking for an API to use for performing this function. I have come across several "standard" APIs, some have been in existence for a long time, some not…

BlackICE
- 8,816
- 3
- 53
- 91
6
votes
1 answer
How to achieve good sharpness with twain/emgu/open cv?
I am using an Epson Perfection V700 scanner and selecting the following options when scanning using their tool:
ICM Color correction (source: EPSON-Standard and target: sRGB)
Unsharp Mask (medium)
That produces this image:
Now my problem is this…

kmp
- 10,535
- 11
- 75
- 125
6
votes
3 answers
How to verify if my scanner driver is TWAIN compatible?
We have a application which integrates a 3rd party scanning component - Dynam .NET TWAIN. It's working well with my HP scanjet 5700. Recently, we got Cannon LiDE210 but it doesn't work. I finally noticed that our application needs to work with TWAIN…

Logan
- 118
- 1
- 2
- 10
5
votes
1 answer
scanning pages using WIA or TWAIN
Edit: Are there any tutorials on how to use WIA or TWAIN in c++, that explain how to scan pages, adjust settings (DPI, using automatic feeder etc.) and save them as PNG files?
I'd like to use WIA to scan pages and store them as png files. If the…

Pedro
- 4,100
- 10
- 58
- 96
5
votes
0 answers
Feasibility Check: Image scanning and PDF generating App with Electron?
I need to replicate a desktop application which currently builds an catalog for coins, medals and banknotes. Its main features are:
Scan image from a scanner
Serve the image to an image editing program for some minor adjustments…

Alex
- 171
- 2
- 9
5
votes
3 answers
JAVA API Wrapper for TWAIN Driver
I have an Image Capture project where:
I want to be able to identify scanners on the network so that it can be selected as a datasource for input.
I want to be able to control the scanner, capturing the image using the TWAIN driver.
The project is…

ITIA
- 123
- 2
- 8
5
votes
4 answers
Can one listen a twain (Maybe WIA) scanner?
I am evaluating VintaSoft .net control and Atalasoft DotTwain Image Capture. And I am very but very lost with the most of the definitions and keywords.
So I am asking this because I think I am in Lala land. Is it possible to listen or have the…

ThorDivDev
- 721
- 2
- 12
- 22
5
votes
1 answer
Twain or WIA? A bit lost between this two interface
I need to write a c# assembly (DLL) in order to scan documents.
I don't know if I need to use TWAIN or WIA.
Anyone could help me please ?
What are the différences?
What are your advices ?
Is there a c# Library ?

Walter Fabio Simoni
- 5,671
- 15
- 55
- 80
5
votes
1 answer
Using TWAIN in .NET - Looking for resources
I'm trying to write some sort of code in .NET to acquire images from network scanner. I have tried WIA and can't even get to see the network scanner, so I am looking at TWAIN now.
Where the problem comes in is that I am having great trouble finding…

yu_ominae
- 2,975
- 6
- 39
- 76
5
votes
3 answers
TWAIN Browser Plugin
Does anyone know of a good TWAIN browser plugin to scan images and send to a web application? If it includes features such as deskew it would be even better. Thanks!

Otávio Décio
- 73,752
- 17
- 161
- 228
4
votes
3 answers
Java Applet and dll
I'm writing a web application that allows users to upload documents importing them directly from devices (i.e. scanners).
I would like to realize a simple web app that uses a Java Applet to handle device communication. I have created the jtwain.dll…

Fabrizio D'Ammassa
- 4,729
- 25
- 32
4
votes
2 answers
TWAIN: How do I get image scan progress?
I have to get images from scanner with TWAIN 1.x interface
Some old scanners scan too long time so I guess how to notify user about scanning progress.
There is built-in popup window with progress bar and "cancel" button but it's something I want to…

Andrew Florko
- 7,672
- 10
- 60
- 107
4
votes
1 answer
VB.net Integer and Short conversion, GetMessagePos()
I am trying to use DWORD WINAPI GetMessagePos(void) function in VB.net.
The function returns a DWORD (32 bit) which can be stored in a VB.net integer variable. A quote from the MSDN doc:
The x-coordinate is in the low-order short of the return…

Ricardo González
- 1,385
- 10
- 19