Using GhostScript to get page size

Posted by Aristoteles on Stack Overflow See other posts from Stack Overflow or by Aristoteles
Published on 2010-05-31T11:47:05Z Indexed on 2010/05/31 11:53 UTC
Read the original article Hit count: 313

Filed under:
|
|
|

Is it possible to get the page size (from e.g. a PDF document page) using GhostScript? I have seen the "bbox" device, but it returns the bounding box (it differs per page), not the TrimBox (or CropBox) of the PDF pages. (See http://www.prepressure.com/pdf/basics/page_boxes for info about page boxes.) Any other possibility?

© Stack Overflow or respective owner

Related posts about pdf

Related posts about size