Bug 52981

Summary: Request for enhancement: Create a new utility 'pdfresources'
Product: poppler Reporter: pipitas
Component: utilsAssignee: poppler-bugs <poppler-bugs>
Status: RESOLVED MOVED QA Contact:
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Screenshot of Adobe Acrobat X Professional resource statistics indicator

Description pipitas 2012-07-30 22:41:10 UTC
Created attachment 64968 [details]
Screenshot of Adobe Acrobat X Professional resource statistics indicator

I'd like to propose a new Poppler commandline utility called 'pdfresources'

It should list a statistic about resources embedded in a PDF, so users can get an idea about how much space is consumed by each category.

In Adobe Acrobat Professional there is a (crappy) way to get some idea about this (see attached screenshot).

It would be great if Poppler could beat Adobe on this feature too (it does so already when it comes to listing the fonts and images contained in a PDF :).

In my opinion the following (maybe incomplete) categories of resources would be interesting and insightful to list:

 - fonts, individually named
 - fonts ................................ (total)
 - images, individual
 - images ............................... (total)
 - ICC profiles, individual
 - ICC profiles ......................... (total)
 - other page contents, per page
 - other page contents .................. (total)
 - annotations, individual
 - annotations .......................... (total)
 - 3D content, individual 
 - 3D content ........................... (total)
 - embedded multimedia, indiv.
 - embedded multimedia .................. (toatl)
 - embedded attachment files, indiv.
 - embedded attachment files ............ (total)
 - document overhead
 - XMP metadata
 - XRef table(s)
 - unused objects (not in XRef table) 

Thank you for considering it.
Comment 1 GitLab Migration User 2018-08-21 10:58:21 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/450.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.