Hello every one I would like to know how I would go about recieving an image from a scanner. What I would like to do is recive the image in the tiff format(is that supported by java) and display in a container. I'm pretty much a newbie so I have no idea where to start on this. Any info would be greatly appreciated. Thanks in advance Tony.
I don't believe there is an easy way to do this. If you happen to know the protocol to communicate with the scanner (TWAIN or whatever) via USB or serial ports, you could try to implement it with the java.comm API. The simplest solution is probably to write the scanner interfacing code in C(++) and connect it to Java with JNI. This would introduce other issues though (learning JNI, cross-platform compatability if necessary, etc.). There may also be pre-made commercial solutions out there somewhere. Interfacing with hardware isn't something easily done in Java (either a pro or con depending on your point of view). Best of luck on your search for a solution. David Weitzman