10th February 2022 – We have added a new article on the free RUPS viewer, which may be more relevant now. Read our updated article here.
Most of the time, you can just use a PDF file without thinking about what lies ‘under the bonnet’. But sometimes you want to find out about the actual objects inside a PDF file.
I need to do this quite often to debug JPedal (Java PDF viewer and PDF to Image converter) and BuildVu (PDF to HTML5/SVG converter). It is very useful if you want to know about the colours used and how the PDF might print or whether it has any useful text. It also allows you to see how big the images inside the PDF really are and whether they can be easily extracted.
I used to open the PDF in a text editor but this is not an ideal solution. Not only can it be quite hard to decipher, but if the PDF is encrypted or contains compressed data and objects you cannot view these.
So I was really pleased to find a little feature hidden inside the Advanced menu option of Acrobat 9.0 to ‘Browse Internal PDF Structure‘.
This allows you to see the actual PDF objects much more clearly. You will still need your trusty and a well-thumbed copy of the Adobe Acrobat PDF specification but it has saved me a lot of time when needing to see what is happening inside a PDF file.
This post is part of our “Understanding the PDF File Format” series. In each article, we aim to take a specific PDF feature and explain it in simple terms.
Do you wish to learn more about PDF? We have been working with PDF files since 1999 and and documenting on our series index!
Are you a Developer working with PDF files?
|Free: The Developer's Guide to PDF|
|Convert PDF files to HTML|
|Use PDF Forms in a web browser|
|Convert PDF Documents to an image|
|Work with PDF Documents in Java|