更新时间:2023-02-15 14:14:05
首先,您将需要一些代码来扫描图片,例如有关.NET TWAIN图像扫描仪的本文:
.NET TWAIN图像扫描仪 [在.NET中逐步创建ActiveX [ http://www.iol.ie/~locka/mozilla/plugin.htm [ ^ ]
" http://www.iol.ie/~locka/mozilla/control.htm [ ^ ]
要将图像发送到服务器并将其保存到数据库中,您只需将其编码为base64并以该格式发送和存储.
祝你好运!
First you''ll need some code for scanning pictures like this article about .NET TWAIN image scanner:
.NET TWAIN image scanner[^]
Then you''ll need to create an activex that IE users of your website must install so scanning is possible.
Create ActiveX in .NET Step by Step[^]
Plugin for hosting it to your firefox friends:
http://www.iol.ie/~locka/mozilla/plugin.htm[^]
"http://www.iol.ie/~locka/mozilla/control.htm[^]
For sending the image to the server and saving it into the database you could simply encode it to base64 and send and store it in that format.
Good luck!