-
Notifications
You must be signed in to change notification settings - Fork 561
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
apply_redactions() deleting text outside of annoted box #3257
Comments
Cannot reproduce. |
@JorjMcKie I've updated the code. Made page range 1 to 2. It is reproducing. Can you check ? |
This is the result after recent code version - all the number are removed and nothing else. |
@JorjMcKie that's strange. Attaching my Macbook M1 screenshot. Using python 3.12 and latest 1.23.26. Maybe M1 architecture is causing this issue ? dependency / floats not getting compiled properly. |
let me it on Linux again - don't have a Mac to cross check. |
Got it! |
Fixed in 1.24.0. |
Description of the bug
Check the attached pdf Original -> Annotated -> Redacted.
You can see the insult word is getting redacted -
Original -
"The woman whom it was intended to insult or whose privacy was intruded upon."
Redacted -
"The woman whom it was intended to ult or whose privacy was intruded upon."
How to reproduce the bug
Code
original.pdf
annotated.pdf
redacted.pdf
PyMuPDF version
1.23.26
Operating system
MacOS
Python version
3.12
The text was updated successfully, but these errors were encountered: