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

Add shuffle mode #47

Open
darkdragon-001 opened this issue Mar 13, 2019 · 4 comments
Open

Add shuffle mode #47

darkdragon-001 opened this issue Mar 13, 2019 · 4 comments
Labels

Comments

@darkdragon-001
Copy link

darkdragon-001 commented Mar 13, 2019

Similar to PDFtk, this should (1) split a file into multiple batches (specified by ranges) and (2) zip them back together. This allows to apply different rotations to even/odd pages.

@darkdragon-001 darkdragon-001 changed the title Add Add shuffle mode Mar 13, 2019
@corollari
Copy link
Collaborator

Isn't this already achievable with the current version of stapler by using sel followed by zip?

@darkdragon-001
Copy link
Author

(1) is blocked by #38 (even/odd pages)
(2) is available
and there is no way of combining the two steps in a single command without temporary files.

@corollari
Copy link
Collaborator

I see, what do you think of getting #38 done and then asking users to do apply the transformation by taking two steps (with temporary files, like you mentioned)? I'm not sure if there's enough demand to create a special command for only this use case.

@darkdragon-001
Copy link
Author

When you duplex scan landscape pages, even and odd pages need to be rotated differently. I think this is a pretty common use-case and was the main reason I discovered PDFtk in the first place.

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

No branches or pull requests

3 participants