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

Shift placement ot multistamp/multiwatermark by several pages #734

Closed

Conversation

vsenko
Copy link

@vsenko vsenko commented Nov 8, 2023

A possible implementation of #733.

The idea is to be able to configure the Watermark for how many pages have to be skipped before applying multistamp/multiwatermark.

My understanding of the internals of PDF is not that good, thus I suspect that this implementation is quite brute force.

@vsenko vsenko changed the title Shift placement ot multistamp/multiwatermark several pages Shift placement ot multistamp/multiwatermark by several pages Nov 8, 2023
@hhrutter
Copy link
Collaborator

hhrutter commented Nov 13, 2023

Hello!

Thanks for the effort.
Generally I expect a conversation before any PR, to understand and see if there is really a need.

This makes sense.
Let me think about a good fit into the API.

@hhrutter
Copy link
Collaborator

hhrutter commented Dec 10, 2023

Thanks for your time and input!

This is part of https://github.com/pdfcpu/pdfcpu/releases/tag/v0.6.0

I have elaborated on your idea and pdfcpu now allows for specifying both the start page # of the stamp file and also the first page number of the destination file to apply multi stamping.

Whenever possible any extension of a pdfcpu command also needs to be reflected on the CLI.
The config syntax for PDF stamp has been extended therefore. See pdfcpu help stamp.

@hhrutter hhrutter closed this Dec 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants