一个人能听一吐温(可能的WIA)扫描仪?人能、扫描仪、吐温、WIA

2023-09-03 07:51:20 作者:给你朵玫瑰跟我走吧

我评估VintaSoft .NET控件和Atalasoft DotTwain图像捕捉。我非常,但非常具有最的定义和关键字的丢失。

于是我问,是因为我觉得我是拉拉的土地。是否可以收听或有扫描仪告诉我的应用程序,有一个扫描的图像,我可以处理它?

的想法是有正在等待的扫描器扫描东​​西WINSERVICE,这时处理图像。

解决方案

我只曾与原生接口TWAIN和WIA,所以我不能担保在他们顶部这些其他层。然而,关于TWAIN,某些机制确实存在,允许应用程序通知捕获数据。我相信这与STI.dll,一个旧库,适用于Windows 2000+处理。查找StiCreateInstance获取更多信息。

如果你选择去了WIA的路线,这是很简单的。你可以注册才能收到事件,如扫描按钮或创建的图像事件。然后,所有你需要做的就是处理这些事件来获取图像。那最艰难的是找硬件实现您想要的功能。

微软有一个WIA自动化库,使许多任务要简单得多。它可以用于由脚本语言

I am evaluating VintaSoft .net control and Atalasoft DotTwain Image Capture. And I am very but very lost with the most of the definitions and keywords.

表情 win10创意者更新,这可能是Windows最后一个系统了 科技频道 表情

So I am asking this because I think I am in Lala land. Is it possible to listen or have the scanner tell my app that there is a scanned image and I can process it?

The idea is to have a winservice that is waiting for the scanner to scan something and when that happens process the image.

解决方案

I have only worked with the native interfaces to TWAIN and WIA, so I can't vouch for these other layers on top of them. However, with regards to TWAIN, some mechanisms do exist that allow an application to be notified to capture data. I believe this is handled with STI.dll, an older library that is available on Windows 2000+. Look up StiCreateInstance for more info.

If you choose to go the WIA route, it is much simpler. You can register to recieve events, such as a 'scan' button or 'image created' event. Then all you need to do is handle those events to get the image. The toughest part of that is finding hardware that implements the features you want.

Microsoft has a WIA automation library that makes many of these tasks much simpler. It can be used by scripting languages.