Hello,
I need to hard-trim PDFs, ie. the stuff outside the mediabox should really be gone from the output file.
I tried the following, but they only perform visual trimming, ie. it's displayed as expected but the data's actually still in the file:
Code:
cpdf.exe -crop "0 0 400pt 600pt" input.pdf 1-50 -o output.pdf input.pdf
pdfcpu.exe box add -- "media:[0 0 400 600]" input.pdf output.pdf
mutool.exe trim -b mediabox -o output.pdf input.pdf
Is there a tool, preferably open-source, that supports hard-trimming?
Thank you.