是否有工具来分析PDF的字体,对象,字段及其各自的大小(kb)?

dan*_*dan 7 pdf pdf-generation

是否有工具来分析PDF的字体,对象,字段及其各自的大小?如果它在Windows上运行会很有帮助.

我正在尝试通过abcPDF优化我们生成的PDF的大小.

Din*_*ngo 5

“信息工具”多价可以回答你的问题:

Multivalent是一个跨平台的 Java 应用程序

下载链接(带有工具的最新免费版本 - 在 sourceforge 上托管的构建不再有 pdf 工具,只有 pdf 查看器,所以,不要从 sourceforge 下载)

用:

java -cp /pathto/Multivalent.jar tool.pdf.Info -all file.pdf
Run Code Online (Sandbox Code Playgroud)

输出将如下所示:

Filename: file.pdf
Creator: Writer
Producer: OpenOffice.org 2.4
Created: Tue Dec 11 23:08:16 GMT-08:00 2007
Page count: 51
PDF version: 1.4
image: object 11, 948x945, raw samples, depth = 8, colorspace = DeviceRGB, length = 9354
image: object 12, 948x945, raw samples, depth = 1, length = 4780
anno: page 2, object 7, Link, bounds 257.0x15.0@(34.0,50.0)
anno: page 2, object 8, Link, bounds 154.0x15.0@(79.0,20.0)
anno: page 6, object 19, Link, bounds 5.0x15.0@(318.0,514.0)
anno: page 7, object 22, Link, bounds 5.0x15.0@(170.0,415.0)
anno: page 16, object 41, Link, bounds 5.0x12.0@(97.0,241.0)
anno: page 17, object 44, Link, bounds 5.0x15.0@(196.0,413.0)
anno: page 18, object 47, Link, bounds 5.0x15.0@(106.0,444.0)
anno: page 20, object 52, Link, bounds 5.0x15.0@(129.0,557.0)
anno: page 25, object 63, Link, bounds 5.0x12.0@(353.0,531.0)
anno: page 28, object 70, Link, bounds 5.0x12.0@(117.0,194.0)
anno: page 30, object 75, Link, bounds 5.0x12.0@(303.0,104.0)
anno: page 31, object 78, Link, bounds 8.0x12.0@(172.0,404.0)
anno: page 32, object 81, Link, bounds 8.0x12.0@(278.0,530.0)
anno: page 38, object 94, Link, bounds 9.0x15.0@(206.0,118.0)
anno: page 45, object 109, Link, bounds 8.0x12.0@(151.0,541.0)
FONT NAME                        TYPE          ENCODING      EMB SUB UNI   OBJ# 
Arial-BoldMT                     TrueType      <intrinsic>    Y   Y   Y     145
LiberationSerif                  TrueType      <intrinsic>    Y   Y   Y     129
LiberationSerif-Bold             TrueType      <intrinsic>    Y   Y   Y     133
LiberationSerif-Italic           TrueType      <intrinsic>    Y   Y   Y     137
MgOpenCanonica                   TrueType      <intrinsic>    Y   Y   Y     125
NimbusRomanNo9L-Regu             TrueType      <intrinsic>    Y   Y   Y     141
149 objects
        6 fonts:  6 TrueType   6 embedded   [LUJTAY+MgOpenCanonica, QOVDSH+LiberationSerif, DSGAAE+LiberationSerif-Bold, OOGVDN+LiberationSerif-Italic, PZMJGN+NimbusRomanNo9L-Regu, FRAGCC+Arial-BoldMT]
2 images
        15 annotations:   15 hyperlinks   
 (51 pages)  Content streams command usage:   w 51   q 4502   Q 4502   cm 1   re 75   f* 24   n 51   W* 51   BT 4450   ET 4450   Tf 4450   Td 4450   Tj 1589   TJ 2861   rg 4467   Do 1
Run Code Online (Sandbox Code Playgroud)

  • 请不要编辑我引用 sourceforge 进行多价下载的答案,因为当前在 sourceforge 上托管的多价版本内部没有更多工具,所以它是无用的 (2认同)

dan*_*dan 3

事实证明,acrobat 中有一个优化器,即“PDF 优化器”,它可以提供所有这些信息。

http://www.websiteoptimization.com/speed/tweak/pdf/optimizer.html