是否可以仅使用 Windows 脚本来合并文本文件和图像?

发布于 2024-07-18 09:23:17 字数 271 浏览 5 评论 0 原文

我们的 FI 交易应用程序生成交易确认,该确认以纯文本字母形式出现。 (.txt)

  • 我需要这些以编程方式 覆盖(仅使用 Windows 脚本) 到抬头纸上,然后复印到 传真输出目录。
  • 该脚本将每 n 分钟检查一次目录中是否有这些文件。
  • 我想保留依赖项计数 随着脚本的运行而下降 服务器所以想避免 引用 Office 库,如果 可能的。

将文本文件覆盖到位图上的最佳方法是什么?

Our FI trading application generates trade confirms which come out as plain text letters. (.txt)

  • I need these to be programatically
    overlayed (using only Windows Script)
    onto headed paper and then copied to
    a fax out directory.
  • The script will be checking a directory for these files every n minutes.
  • I want to keep the dependency count
    down as the script will be running on
    a server so would like to avoid
    referencing Office libraries if
    possible.

What's the best way to overlay the text file onto the bitmap?

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

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

发布评论

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

评论(1

黒涩兲箜 2024-07-25 09:23:18

我知道这并不能回答您的问题,但是,由于我怀疑您是否会获得基于纯脚本的图像覆盖解决方案,因此我建议使用 ImageMagick. 它具有功能强大、可编写脚本的命令行界面,并且处理文本到图像的转换

I know this doesn't answer your question but, since I doubt you'll get a pure script based image overlay solution, I suggest the use of ImageMagick. It has a powerful, scriptable command line interface and handles text-to-image conversions.

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