For scripting I need to get the page dimensions of a PDF file (in mm).
pdfinfo
just prints it in 'pts', e.g.:
Page size: 624 x 312 pts
What should I use?
Or what unit is 'pts' anyway – in case I want to convert them …
For scripting I need to get the page dimensions of a PDF file (in mm).
pdfinfo
just prints it in 'pts', e.g.:
Page size: 624 x 312 pts
What should I use?
Or what unit is 'pts' anyway – in case I want to convert them …
Best Answer
The 'pts' unit used by
pdfinfo
denotes a PostScript point. A PostScript point is defined in terms of an inch and a resolution of 72 dots per inch:The manual to
gv
contains a list of common paper formats specified in PostScript points.