PDF Document: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
No edit summary
imported>Ikskoks
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:900px; overflow:auto;">
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:900px; overflow:auto;">
<pre>
<pre>
//header
// header
8 bytes (char) - signature // e.g. "%PDF-1.5"
8 bytes (char) - signature // e.g. "%PDF-1.5"


// body
x bytes - body
x bytes - body


// cross-ref table
x bytes - cross-reference table
x bytes - cross-reference table



Latest revision as of 21:26, 12 February 2022

Back to index | Edit this page

PDF

  • Format Type : Document
  • Endian Order : Little Endian
  • Signature : %PDF- / %PDF-1.5


Format Specifications

// header
8 bytes (char) - signature // e.g. "%PDF-1.5"


// body
x bytes - body


// cross-ref table
x bytes - cross-reference table


// trailer (file footer)
{
   9 bytes (char) - trailer keyword + "\n"   // "trailer"
   x bytes - trailer dictionary // e.g.  "<</Size 19/Root 1 0 R/ ... >>"
   11 bytes (char) - startxref keyword + "\n"  // "startxref"
   7 bytes (char) - offset from the beginning of the file to the beginning of the xref keyword
   4 bytes (char) - end of file marker   // "%%EOF"
}

Notes and Comments

None.

Games

List of games using this file format:

  • TODO

QuickBMS Script

Not written yet.

Compatible Programs

  • Adobe Reader
  • PDF-XChange Viewer

See Also