Allen Barker
Allen Barker
That would be a good option to have, but unfortunately it isn't currently implemented. As a workaround you could crop the ranges of rotated pages separately from the unrotated pages...
If you have or can generate a simple, non-confidential example file I'll have a look at adding an option.
Unfortunately that functionality is not currently implemented.
I'm not sure what the problem is there. I don't have a Mac to test on. Does the ordinary install work, without the `[gui]` part? If so, the `[gui]` part...
The program currently uses whatever directory the Python function `tempfile.mkdtemp` returns. That function should respect the setting of the `TMPDIR`, `TEMP`, or `TMP` environment variables, according to the Python docs....
I tried setting `TMPDIR` and running with Python 3.6 on Ubuntu, using the current version of pdfCropMargins (0.2.9), and it works for me.
FYI, the new version 1.0.0, currently up on PyPI, should be faster and use less disk space when MuPDF cropping is used (now the default if you install with GUI)....
Thanks for the report. To get 10bp all around the command would be: ``` pdf-crop-margins -a -10 -p 0 input.pdf ``` There are 72bp/inch, which is the unit PDF files...
It isn't currently possible to rescale documents. It wouldn't be too hard to add and is on the list of possible enhancements to implement. The problem is that if you...
The rendering methods are only used to render pages so that they can be analyzed to find the margins. All the changes in the final PDF are performed using PyPDF2....