需要访问客户端扫描程序才能上传图像 [英] Need to access client side scanner for upload image

查看:90
本文介绍了需要访问客户端扫描程序才能上传图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何访问客户端扫描程序以提供直接上传图像的选项,方法是扫描网页上的文档并将其直接上传到服务器上?

How to access client side scanner to provide option to upload image direct by scanning a document on webpage and upload it directly on server?

推荐答案

我有另一个解决方案对于你,如果你不喜欢TWAIN

你可以创建一个简单的桌面应用程序(exp: Scan.exe )在具有扫描仪设备的客户端计算机上运行,​​

然后从您的网页调用此 exe ,它将在客户端计算机上运行,​​并且可以访问扫描仪驱动程序,您可以将参数发送到 exe



问题当你想将扫描图像保存到服务器时?



如果您在内部网中,您可以直接让 exe 保存图像使用文件共享



如果您在外面工作您可以将您的图片发送到您网站的网络服务并将其保存在您的服务器中
I have another solution for you if you don't like TWAIN
you can create a simple desktop application (exp: Scan.exe) run in the client machine that has the scanner device,
then call this exe from your web page ,it will run on Client machine with all access to scanner driver, you can send parameter to the exe

the problem come when you want to save the scanned image to the server ??

if you inside a intranet you can directly let the exe save the image useing file share

if you work outside your network you can send your image to web service in your site and save it in your server


请参阅以下链接。它可以帮助你

http://www.rasteredge.com / how-to / csharp-imaging / twain-scanning / [ ^ ]
Please see below link. It may help you
http://www.rasteredge.com/how-to/csharp-imaging/twain-scanning/[^]


这篇关于需要访问客户端扫描程序才能上传图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆