Delphi 的 TWAIN 扫描组件

发布于 2024-08-17 22:29:14 字数 657 浏览 5 评论 0原文

我需要将 TWAIN 扫描添加到 Delphi 应用程序中,但无法找到现成的组件来执行此操作。

我下载了 TDelphiTwain,但在 Windows Vista 上的 D2010 中使用时,它似乎无法识别我系统上的任何 Twain 源。我还尝试了 MCM 的 Twain Toolkit for Delphi 试用版,它的优点是当前正在更新(DelphiTwain 的最后一次更新是 2004 年),但 Twain Toolkit 甚至无法在我的系统上编译(我认为某些 DCU 已超出)日期)。

谁能建议一种将 TWAIN 扫描到我的 Delphi 应用程序中的简单方法?

更新:使用 vcldeveloper 对 DelphiTwain 的更新(见下文)我能够使其正常工作。另外,我还发现Envision Image Library支持Twain扫描以及协助处理多页TIFF,并已更新以与 D2010 兼容。

最新更新下面的 VCLDeveloper 代码运行良好。不过,我选择了 Envision 库,它能够轻松创建多页 TIFF 文件。我在几个小时内完成了 Envision 扫描,包括多页文件处理。

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

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).

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

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.

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

如果没有你 2024-08-24 22:29:14

我将 DelphiTWAIN 更改为与 Delphi 2009 和 2010 一起使用。您可以从此处下载源代码: http://www .kluug.ne​​t/delphitwain.php

其他链接在这里:
http://torry.net/pages.php?id=507
在这里:http://www.delphipraxis.net/1179589-post3.html

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

Additional links are here:
http://torry.net/pages.php?id=507
and here: http://www.delphipraxis.net/1179589-post3.html

久光 2024-08-24 22:29:14

另一个也支持 TWAIN 扫描的图形库是 ImageEn,它也可以将扫描文档保存为 PDF(以及许多图形格式)。几年前,仅凭这一功能就让我对这款产品产生了兴趣。

Another graphic library that also supports TWAIN scanning is ImageEn which also can save the scanned documents as PDF (as well as numerous graphical formats). That feature alone sold me on that product years ago.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文