PDF Document: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (11 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
* ''' Format Type ''': Document <br> | * ''' Format Type ''': Document <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | ||
* ''' Signature ''': %PDF-1.5 <br> | * ''' Signature ''': %PDF- / %PDF-1.5 <br> | ||
=== Format Specifications === | === Format Specifications === | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width: | <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 | ||
x bytes - trailer | |||
// 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" | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
Latest revision as of 21:26, 12 February 2022
Back to index | Edit this page
- 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