Is there a tool for analyzing PDF in terms of fonts, objects, fields and their corresponding size (kb)?

Is there a tool to analyze PDF in terms of fonts, objects, margins and their respective sizes? It would be helpful if it worked on Windows.

I am trying to optimize the size of the PDF files that we generate using abcPDF.

+7
source share
3 answers

Turns out there is an optimizer in acrobat, the โ€œPDF Optimizer,โ€ which can provide all this information.

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

+2
source

A multi-valued โ€œToolโ€ may be the answer to your question:

Multi - valued is a cross-platform Java application

download links (the latest free version with tools - the assembly hosted on sourceforge no longer has pdf tools, only a PDF viewer, so donโ€™t download from sourceforge)

using:

java -cp /pathto/Multivalent.jar tool.pdf.Info -all file.pdf 

The output will look like this:

 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> YYY 145 LiberationSerif TrueType <intrinsic> YYY 129 LiberationSerif-Bold TrueType <intrinsic> YYY 133 LiberationSerif-Italic TrueType <intrinsic> YYY 137 MgOpenCanonica TrueType <intrinsic> YYY 125 NimbusRomanNo9L-Regu TrueType <intrinsic> YYY 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 
+4
source

I think Amyuni PDF Analyzer fits your needs. On the web page:

Analysis and validation of the structure of a PDF document using custom VB.NET rule sets. Ensure that your PDF structure complies with industry standards. or custom specifications.

In addition, you can automate your tests and use them as part of a batch script process.

Generally disclaimer applies

+1
source

All Articles