pdfCropMargins icon indicating copy to clipboard operation
pdfCropMargins copied to clipboard

Modify original without backup

Open samuelbradshaw opened this issue 7 months ago • 3 comments

Thanks for this library! Is it possible to modify the original without creating backup files?

If I use this command:

pdfcropmargins --percentRetain4 100 100 100 0 --pages 1 --modifyOriginal my-file.pdf

I get a bunch of backup files that I then need to clean up.

When I try this command:

pdfcropmargins --percentRetain4 100 100 100 0 --pages 1 --modifyOriginal --outfile my-file.pdf my-file.pdf

I get this error:

Error in pdfCropMargins: The input file is the same as
the output file.

samuelbradshaw avatar Jul 24 '24 03:07 samuelbradshaw