Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Adobe Acrobat optimizer has an Audit Space Usage function that displays the percentage of the file size of each type of component, e.g. images, fonts, etc. See this page for an example.

Is there an open-source tool that does the same thing?

share|improve this question

put on hold as off-topic by fixer1234, karel, DavidPostill, Deltik, mdpc yesterday

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – fixer1234, karel, DavidPostill, Deltik, mdpc
If this question can be reworded to fit the rules in the help center, please edit the question.

This sounds like a pretty specialized function, I would say chances are low. – Daisetsu Jun 29 '10 at 19:33
up vote 0 down vote accepted

I found a program that does this. It is from this location. I used the command

python --stats target.pdf

and got an output like this:

info: This is rUNKNOWN.
info: computing statistics for PDF: target.pdf
info: PDF size is 6805076 bytes
info: stat contents_objs = 316509 bytes (5%)
info: stat font_data_objs = 147998 bytes (2%)
info: stat header = 16 bytes (0%)
info: stat image_objs = 5999532 bytes (88%)
info: stat linearized_xref = 17161 bytes (0%)
info: stat other_objs = 317204 bytes (5%)
info: stat separator_data = 27 bytes (0%)
info: stat trailer = 134 bytes (0%)
info: stat wasted_between_objs = 18 bytes (0%)
info: stat xref = 6477 bytes (0%)
info: end of stats
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.