Reputation: 33
How can I find the space around a PDF page that is unused (white) with pdfrw in order to be able to trim it? Maybe if I can go through all the objects and find the closest coordinates to the border of the page...
Upvotes: 1
Views: 513
Reputation: 8137
pdfrw wasn't really designed to inspect pdf files that closely. You should try pdfminer. (Disclaimer: I am the pdfrw author.)
Upvotes: 1