我有2个pdf的,我正在运行的CFPDF action=“缩略图”。第一个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,但由于显而易见的原因,我宁愿不在这里张贴它们。
发布于 2011-01-28 03:04:14
如果pdf页面中的图像格式为JPEG2000格式,Coldfusion将跳过该图像...会产生一个空白缩略图...
Coldfusion 8 Release Notes
--搜索“缩略图”
Dom
附注:至少在CF8中,我还没有在CF9中看到任何更新...
https://stackoverflow.com/questions/1033503
复制相似问题