开发者

Display 2nd page of tiff with coldfusion

开发者 https://www.devze.com 2023-03-02 13:36 出处:网络
I am trying to display a tif as a pdf document using coldfusion with the following code:开发者_如何学编程

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


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号