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 data source for input.
  • I want to be able to control the scanner by capturing an image using the TWAIN driver.
  • The project is in JAVA, so it needs a JAVA wrapper or API for the TWAIN driver and / or TWAIN DSM.

In researching I first tried to find open source for TWAIN, but it seems like a dead end for JAVA. I can find commercial software from Aprise and Morena for example, but both of them don't seem to be up to date. JTWAIN seems to be the most popular, but it seems dated. Open source seems to be in the worst shape where the last activity was many years ago:

Is there support, stable Java TWAIN wrappers? Are there any commercial solutions other than JTWAIN, Morena or EZTWAIN?

I am not looking for the SANE driver and wrapper as I already found something if we followed the SANE path.

Thank,

Jason

+3


source to share


2 answers


The first comment I have is that if you are developing something to run in a web browser, avoid Java.

If I say that if this is an application instead of an applet designed for the Internet, I had great success with Morena. As for Morena, Aprise and JTwain, don't worry too much about the lack of updates. TWAIN, a 23-year-old scanner specification, has reached maturity where it hasn't changed and will not change. The TWAIN developers are now focusing on the new TWAIN Direct standard, which will eventually replace TWAIN through driverless scanning.



If you would like a browser based crawling solution to use Dynamsoft. They have a plugin for everything. If you want a browser based solution and this is not an available option, you will have to write custom browser plugins.

Hopefully we look forward to seeing this implemented on other OSs: https://developer.chrome.com/apps/documentScan

+1


source


I suggest you try Dynamic.NET TWAIN. While Dynamsoft does not directly provide a Java TWAIN solution, they do support modern .NET, supporting x86 and x64. You can easily wrap the DOTNET API by reading the article - Java TWAIN with Dynamic.NET TWAIN and jni4net . Here is the source code: https://github.com/Dynamsoft/JavaTwain



0


source







All Articles