Allen Barker
Allen Barker
Why did you create a new issue? This seems very similar to the last question you asked. The pdfCropMargins program cannot change the **relative** scale of different pages, but you...
Check out the new version 1.1.8. Two new options, `--keepHorizCenter` (`-khz`) and `--keepVertCenter` (`-kvc`) have been added. They force equal cropping on the left and right or top and bottom...
@darksimpson, the current version of PyPDF is set to
Try the new version 2.0.0. It removes the PyPDF dependency and uses PyMuPDF for all internal calculations.
The GUI dependencies are now part of the ordinary install, so you no longer need to include the `[gui]` part.
One possibility would be to run the program twice. On the first run, trim the file to a tight bounding box on the bottom with something like `-p4 100 0...
Check out the new version 2.1.2. It now has the options ``--centerText``, ``--centerTextHoriz``, ``--centerTextVert``, and ``--centeringStrict``.
It looks like you used `--centerTextHoriz` since `--centerText` is supposed to center pages both vertically and horizontally. You can always just crop more off using the `-p`, `-p4`, `-a`, or...
I'm hesitant to suggest a way to permanently remove margins, because if people want to use it for redaction they may end up being surprised. You mentioned `mutool` in your...
Points are the standard unit of PDF files, 1 point = 1/72 inch. The percentage values take a percentage of the existing margins, for example if the existing margin is...