pdfCropMargins icon indicating copy to clipboard operation
pdfCropMargins copied to clipboard

Rotated pages do not get cropped properly

Open xu-jinsheng opened this issue 2 years ago • 2 comments

With the commandline pdf-crop-margins -u -s myscan.pdf, the rotated pages are restored before read-in. However, this creates a problem. The rotated pages are supposed to be treated as-is, since the scanner made some not-so-clever decisions and I rotated the pages manually so that they are in the proper direction. Is there an option in the command that let the read-in treat the rotations as-is?

xu-jinsheng avatar Aug 17 '22 07:08 xu-jinsheng

That would be a good option to have, but unfortunately it isn't currently implemented. As a workaround you could crop the ranges of rotated pages separately from the unrotated pages (although that could be a pain).

abarker avatar Aug 19 '22 23:08 abarker

If you have or can generate a simple, non-confidential example file I'll have a look at adding an option.

abarker avatar Aug 22 '22 00:08 abarker