-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
More flexible remove_annots_from_page function #1829
Comments
@MrTomRod |
I don't think the existing API enables me to do what I want, i.e., to remove only certain hyperlinks, namely those that start with Thanks for the |
I agree that the existing functions may not be adequate for you but you should copy and then adjust |
Yes, I already managed to do what I wanted. The point is that my solution is more flexible and would imo improve your library. Feel free to close this issue if you don't think it's a good suggestion. |
If you think you can propose a solution that will improve pypdf feel free to propose a PR |
py-pdf#1829) - add pytest-socket to pyproject.toml
@MrTomRod Are you still interested in enhancing pypdf this way? Then feel free to open a corresponding PR. Otherwise, we will probably close this issue in the near future. |
I would like to dynamically remove certain annotations from a page but not others. I solved it like this:
I thought my
remove_annots_from_page
function is superior to the existing_remove_annots_from_page
, so I thought I'd share it.The text was updated successfully, but these errors were encountered: