Pdfcropmargins

Latest version: v2.1.4

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

2.1.4

------------------

New features:

* Added the option ``--replaceOriginal`` which implies the ``--modifyOriginal`` option
but removes the file instead of replacing it.

* Added the option ``--uniform4`` which allows for selecting which margins the
uniform cropping is applied to.

* Added the option ``--samePageSize4`` which allows for selecting which margins
the same page size option is applied to.

2.1.3

------------------

Bug fixes:

* Vendorized the LGPL version 4 of PySimpleGUI since it changed license and
took down older versions from PyPI.

2.1.2

------------------

New features:

* Added the options ``--centerText``, ``--centerTextHoriz``,
``--centerTextVert``, and ``--centeringStrict`` to center text on the pages
after cropping.

Bug fixes:

* Fixed a bug in ``--keepVertCenter`` and ``--keepHorizCenter`` when cropping is restricted
to certain pages.

2.1.01

----------------------

Changes:

* The version of pySimpleGui to install is restricted to less than version 5,
since it started requiring registration at that point.

* The default for what boxes to set is now by default only the mediabox. This
is because of unknown problems causing "cropbox could not be written"
exceptions from PyMuPDF. It will try writing the boxes, if they are
selected with ``--boxesToSet``, but may or may not actually set them.

2.0.12

---------------------

New features:

* Added the option ``--setSamePageSize`` (``-ssp``) which sets all the page
boxes to user-passed values instead of calculating the containing page
size.

2.0.3

------------------

* Work on a resource warning that appeared at times.

Page 1 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.