Best solution (library) for working with scanner device in java?

Saeed Zarinfam picture Saeed Zarinfam · Aug 21, 2012 · Viewed 21.7k times · Source

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 us, supporting wide range of scanner under Windows (XP and 7) is very important for us. Please share your experience about this subject with me.

Thanks.

Answer

Strelok picture Strelok · Aug 21, 2012

Well I think TWAIN should be very important to you, because it is the data acquisition standard. Virtually all scanners come with TWAIN drivers giving you a standard interface. So what you really need is a Java TWAIN library. Unfortunately, there is no good open source library.

Out of commercial offerings consider: JTwain and Morena. I think Morena has a "Personal Licence", which is free, but not suitable for a commercial project.

You can also try these JARs from here. They were developed by someone on the net whose site is now dead, but you can reverse engineer it with JAD quite easily to get the API list.