本文介绍了用于Delphi扫描组件的TWAIN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要向Delphi应用程序添加TWAIN扫描,无法找到现成的组件。

I need to add TWAIN scanning to an Delphi application and am having trouble locating an off-the-shelf component to do so.

我下载了TDelphiTwain,但是在Windows Vista上的D2010中使用,它似乎不会识别我的系统上的任何Twain源。我也尝试了从MCM的Delphi Toolkit for Delphi的试用版,它具有当前更新的优点(DelphiTwain的最后一次更新是2004),但是Twain Toolkit甚至不会在我的系统上编译(我认为一些DCU不在日期)。

I downloaded TDelphiTwain but, when used in D2010 on Windows Vista, it does not appear to recognize any Twain sources on my system. I also tried the trial version of Twain Toolkit for Delphi from MCM which has the advantage of being currently updated (DelphiTwain's last update was 2004), but the Twain Toolkit will not even compile on my system (I think some of the DCUs are out of date).

任何人都可以建议一个简单的方法来获取TWAIN扫描到我的Delphi应用程序?

Can anyone suggest a simple method of getting TWAIN scanning into my Delphi application?

更新:使用vcldeveloper对DelphiTwain的更新(见下文),我得到了这个工作。此外,我还发现支持Twain扫描以及协助处理多页TIFF,并已更新,以便与D2010兼容。

UPDATE: Using vcldeveloper's update to DelphiTwain (see below) I was able to get this working. Also, I also discovered that Envision Image Library supports Twain scanning as well as assisting in handling multi-page TIFFs, and has been updated for compatibility with D2010.

延迟打破UPDATE 下面的VCL开发人员的代码工作正常。但是,我定居在Envision图书馆,其中包括轻松创建多页TIFF文件的能力。我得到了Envision扫描,包括在几个小时内实现的多页文件处理。

Late Breaking UPDATE VCLDeveloper's code, below, works fine. However, I settled on Envision library which includes the ability to easily create multi-page TIFF files. I got the Envision scanning, including multi-page file handling, implemented in a few hours.

推荐答案

我更改了DelphiTWAIN Delphi 2009和2010.您可以从这里下载源代码:

I changed DelphiTWAIN to work with Delphi 2009 and 2010. You can download the source code from here: http://www.kluug.net/delphitwain.php

其他链接在这里:


,这里:

这篇关于用于Delphi扫描组件的TWAIN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-15 01:11