Pdf

From wikinotes
Revision as of 16:07, 26 December 2015 by Will (talk | contribs) (→‎Boxes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Encoding/Manipulation

ghostscript CLI utility for ps/pdf manipulation
pypdf python module for pdf authoring/manipulation



File Format

PDFs are composed of boxes, ....


Boxes

mediabox The largest dimension - contains all crop-marks etc for printing.
cropbox Where the page should be clipped (in pdf viewer/when printed)
bleedbox Where the printed material should be clipped (generally slightly larger than cropbox for print)
trimbox The actual width/height
artbox seldom used, allows you to crop small componenents from a pdf for printing.