CFPDF 缩略图问题不显示背景/图像

发布于 2024-07-25 02:00:18 字数 525 浏览 4 评论 0原文

我有 2 个 pdf 文件,正在通过 CFPDF action="thumbnail" 运行。 第一个 pdf 返回一个看起来完美的拇指。 第二个返回一个拇指,仅包含文本和背景颜色,但没有背景或前景图像。 我没有创建这些 PDF,我无法区分两者之间的区别。

这是出于测试目的而简化的代码:

<cfpdf action="thumbnail" source="First.pdf" destination="thumbnails" overwrite="yes">
<cfpdf action="thumbnail" source="Second.pdf" destination="thumbnails" overwrite="yes">

<img src="thumbnails/First_page_1.jpg">
<img src="thumbnails/Second_page_1.jpg">

如有必要,我可以发送有问题的 pdf,但出于明显的原因,我不想将它们发布到此处。

I have 2 pdf's i'm running through CFPDF action="thumbnail".
The first pdf returns a perfect looking thumb.
The second returns a thumb with only the text and background colors, but NO background or foreground images. I didn't create these PDF's, I can't tell a difference in the two.

Here's the code, simplified for testing purposes:

<cfpdf action="thumbnail" source="First.pdf" destination="thumbnails" overwrite="yes">
<cfpdf action="thumbnail" source="Second.pdf" destination="thumbnails" overwrite="yes">

<img src="thumbnails/First_page_1.jpg">
<img src="thumbnails/Second_page_1.jpg">

I can send the pdfs in question if necessary, but would rather not post them here for obvious reasons.

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

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

发布评论

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

评论(1

爱格式化 2024-08-01 02:00:18

如果 pdf 页面中的图像采用 JPEG2000 格式,Coldfusion 会跳过图像...导致空白缩略图...

Coldfusion 8 发行说明

- 搜索“缩略图”

Dom

/8/releasenotes.pdf 至少从CF8开始,我还没有看到CF9有任何更新......

If the images within the pdf page are formatted in JPEG2000 format, Coldfusion skips the image... resulting in a blank thumbnail...

Coldfusion 8 Release Notes

-- do a search for "thumbnail"

Dom

P.S. At least as of CF8, I haven't seen any updates in CF9 yet...

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