Having trouble with the mutool trim command

60 Views Asked by At

Can anyone please help with mutool syntax? I am trying to trim 50points off the left of a media box. -pages tells me this for all pdf pages.... I try.... trim -mL50 and every possible syntax variation including spaces without any result

Tried all syntax variations

1

There are 1 best solutions below

0
K J On

Took me a while to compile a recent version that includes "Trim" (Mutool x32 v 1.23.11).

Anyway here is my observation.

The Command program functionality may not be what is expected, as some objects will be redacted (trimmed) and others may not. Since it works on discreet objects, not a pure clip of linework.

Result for Top,Right,Bottom,Left combination with a cut line 130 points inside left.

mutool trim -b MediaBox -m 0,0,0,+130 -o out.pdf "XpdfReader Frequently Asked Questions.pdf"

enter image description here