Web TWAIN scanning solution for ASP.Net? [closed]

2019-04-09 20:42发布

问题:

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 need to have a universal approach in scanning documents through the webpage without any external helper apps that does this for us.

I know this is a tall order, I would simply want to know the best next thing.

Thank you!

回答1:

I've seen this done with a Java applet successfully. ActiveX might also work.

Here is what appears to be a working TWAIN applet.

Here is question with answers related to TWAIN and Java.



回答2:

You can't do it with just a browser and JavaScript, full stop, you'll need to include something else -- a Java applet, a .Net "No Touch Deployment" application (mostly IE-only), a Flash or Shockwave application, something like that. In the Windows world, Flash has a huge installed base on browsers, but I don't know if it can do what you want (not knowing much about Flash). Next up would be a signed Java applet.

The user will then need to give your thingy permission to access local resources, a process that varies depending on the technology used. It's quite a simple process with a signed Java applet, much more involved and awkward for the end user with a .Net "No Touch Deployment" app.



回答3:

I've successfully used Morena for implementing web scanning. It requires only that the user have Java installed. (With older versions of Java you can run out of memory when processing the scanned image. I had to cut large images into 100 pixel strips and send them individually to the server.)

Here's a small scan-to-email project that I used Morena with.