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
4
votes
1 answer
What is the state of TWAIN on the Macintosh today?
I'm currently working on a project where we want to interface with TWAIN scanners on both the PC (Windows) and the Macintosh.
On Windows, we basically have everything squared away and the code works successfully with the vast majority of…

Tom Kidd
- 12,830
- 19
- 89
- 128
4
votes
1 answer
Installing Twain Module in 64 bit Windows and Use Python
I have 64 bit Windows and 64 bit Python . I want to install twain in my machine . So I have download this link . I did what readme file said . Copied twaindsm.dll into system32 and SysWow64 file. Then I have used twain like I said in this question .…

Cahit Yıldırım
- 499
- 1
- 10
- 26
4
votes
2 answers
Image scanning through browser
Here's the problem: I have a usb scanner (HP) and want to get the image through a web application. Solved long ago with a java applet but now chrome doesn't support them anymore.
I've already seen potential solutions. The "coolest" one was…

Federico Luca
- 43
- 1
- 4
4
votes
1 answer
WIA Twain support C#
How can I use WIA and Twain in C#? The TWIAIN/C# example found at http://www.codeproject.com/KB/dotnet/twaindotnet.aspx Throws an exception at line 59 on TwainLib.cs "an attempt was made to load a program with an incorrect format." on Vista 64.
I…
user19302
4
votes
2 answers
TwainDotNet Scanning using TWAIN with BackgroundWorker
Has anyone tried TwainDotNet for scanning with TWAIN API calls from .NET? Though it works well usually I've some issues with it when used along with WPF application using MVVM. Basically I'm calling Twain scanning functions from a Service, which in…

Raj
- 4,405
- 13
- 59
- 74
4
votes
3 answers
Web TWAIN scanning solution for ASP.Net?
I know some of you will discourage scanning through a web page, unfortunately, it is a requirement.
I want to view my options in the situation, and maybe, some of you may have already gone through this and had a workable solution.
Problem is, we…

Martin Ongtangco
- 22,657
- 16
- 58
- 84
4
votes
1 answer
Is it possible in TWAIN to force a scanner to set the region to the entire width?
I am writing an application that requires scanning in .net (c# version 4.0, Visual Studio 2010). I'm using the TWAIN API in order to do the scanning and I have a problem with the layout feature. The following code works perfectly fine on a…

kmp
- 10,535
- 11
- 75
- 125
4
votes
3 answers
Best solution (library) for working with scanner device in java?
I am working at a desktop project (develop with swing) which works with wide range of old and new scanner devices.
We want an open source and free library that can work with scanner devices. Scanner standards like Twain , ... are not important for…

Saeed Zarinfam
- 9,818
- 7
- 59
- 72
3
votes
1 answer
Mms-computing.co.uk twain library documentation
I would like to use the mms-computing.co.uk.device.twain.jar library in a Java project that should talk to image acquisition devices.
I noticed that the site of mms-computing is unavailable; I could download the jar from another site but I can't…

Fabrizio D'Ammassa
- 4,729
- 25
- 32
3
votes
1 answer
Dummy WIA Driver
I have an application that uses WIA 2.0 however the scanners that we have in the office are not compatible with WIA.
Is there any dummy driver such as the TWAIN Dummy driver (twainkit.exe) for WIA that we can actually test with like a fake image?…

Rudi Visser
- 21,350
- 5
- 71
- 97
3
votes
2 answers
Integrating a scan-to-file app with the browser
We have an intranet-based application, and users have desktop scanners (which are TWIAN but not WIA compatible). Users need to 'click to scan' from the browser window (IE 8) and save the scanned image to the application with minimal…

Lambo
- 31
- 2
3
votes
2 answers
How can I scan a 300dpi image and save in TIFF format using Delphi?
I'm using Delphitwain (delphitwain.sourceforge.net) to add scan functionality to my app. Scanning is working fine and I can save bmp and jpeg files. Now I need to:
save in 300dpi (the scanner is capable)
save in TIFF format
After digging around, I…

Josir
- 1,282
- 22
- 35
3
votes
0 answers
Unable to Close Twain Source
I have a customer who suddenly started getting Twain errors when trying to scan in my program.
The software was developed in 32-bit VB6 and uses BlackIce Image SDK, version 10.6.6, to handle scanning through Twain.
Over the last few weeks, this…

orange-donut
- 201
- 1
- 4
3
votes
2 answers
Get image as Image Class with twain in c#
I can connect and get images from my device with twaindotnet. But I want to handle the images as Image class. When I try something like this:
...
ArrayList pics = tw.TransferPictures();
EndingScan();
tw.CloseSrc();
if(pics.Count > 0) {…

Okan Kocyigit
- 13,203
- 18
- 70
- 129
3
votes
1 answer
NTwain ICapSupportedSizes is Not Supported
I'm using NTwain to scan documents into memory and I have it all working except for one part: When trying to set the size of the page to scan, it scans the entire width and height, rather than just the specified size.
I went and examined the…

Memedon
- 907
- 2
- 7
- 14