Hi Jason,
I'm sorry you are having trouble with the image conversion. I'd be happy to help you overcome that problem by creating a custom version of JTwain, with an alternative acquisition method that lets you specify a filename. When you invoke that method, the image would be stored in the file identified by the filename. You could then use Java's I/O streams capability to load the image and interpret the content as you see fit -- all from within Java.
Please contact me at jeff@gatewest.net and then I can get started on the custom JTwain.
I would like to post the code in this talkback but the talkback software doesn't properly format code. However, I'd be happy to email the code to anyone who contacts me at the above email address.
All the best.
Jeff |