使用 Coldfusion 显示 tiff 的第二页

发布于 2024-11-04 19:09:35 字数 250 浏览 4 评论 0原文

我正在尝试使用 Coldfusion 和以下代码将 tif 显示为 pdf 文档:

<cfdocument format="pdf" overwrite="1" margintop="1">
    <img src="test3.tif" />
</cfdocument>

现在可以工作,但它只会显示 tiff 的第一页。是否有专门加载第二页或第三页的方法?

谢谢

I am trying to display a tif as a pdf document using coldfusion with the following code:

<cfdocument format="pdf" overwrite="1" margintop="1">
    <img src="test3.tif" />
</cfdocument>

Now this works, but it will only show the first page of the tiff. Is there anyway to specifically load a 2nd or 3rd page?

Thanks

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

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

发布评论

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

评论(1

提笔书几行 2024-11-11 19:09:35

您可以使用 RIAForge 中的 imageUtils (http://imageutils.riaforge.org/) 来创建额外的 TIFF 页面。显然,您需要在 cfdocument 中编辑 HTML 以放置您想要使用的每个页面。

You can use imageUtils (http://imageutils.riaforge.org/) from RIAForge to extra TIFF pages. You would need to edit your HTML inside cfdocument obviously to put each page you want to use.

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