Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rotated pages do not get cropped properly #42

Open
xu-jinsheng opened this issue Aug 17, 2022 · 2 comments
Open

Rotated pages do not get cropped properly #42

xu-jinsheng opened this issue Aug 17, 2022 · 2 comments

Comments

@xu-jinsheng
Copy link

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?

@abarker
Copy link
Owner

abarker commented Aug 19, 2022

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
Copy link
Owner

abarker commented Aug 22, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants