使用 Coldfusion 显示 tiff 的第二页
我正在尝试使用 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 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.