Quantcast
Channel: Adobe Community : Popular Discussions - PDF Language and Specifications
Viewing all articles
Browse latest Browse all 46145

Incorrectly formatted PDF?

$
0
0

Hi

 

I have been given a PDF file from a customer and opening it up in Acrobat it displays correctly and advises that the file was generated by Acrobat Distiller 8.1.0, and is a PDF1.5 formatted file.

 

When my code opens the file we look for a trailer but it is not present (the trailer is not present in the entire file but the last few lines are as follows:

endstream
endobj
startxref
116
%%EOF)

 

Is it valid to have a file without a trailer? Looking at the specification it implies that the trailer is an important part to allow random access, but does not state if it is required for a valid PDF file. And if it is valid should the file be processed as if it were a linearized pdf?

 

Thank you

Keith


Viewing all articles
Browse latest Browse all 46145

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>