abarker / pdfCropMargins

pdfCropMargins -- a program to crop the margins of PDF files
Other
352 stars 32 forks source link

Uniform crop only in horizontal direction #63

Open JortJacobs opened 1 month ago

JortJacobs commented 1 month ago

Would it be possible to have uniform crop only in horizontal direction? Or more general, specify for each direction whether it should be uniform across pages? E.g.

u4 LEFT BOTTOM RIGHT TOP u4 false true false true

abarker commented 1 month ago

The --uniform4 (-u4) option is implemented for the next version. The usage is, e.g., -u4 f t f t. The --samePageSize4 (-s4) option is similarly implemented to go with it.

abarker commented 1 month ago

The new version has been pushed to PyPI as 2.1.4.