Closed aleem75321 closed 4 months ago
Sorry, what I meant was this:
As you said above, I have done all the steps and found that there is no change in the PDF even though they are not deleting the crossed-out red rectangle
It is interesting when I apply redaction to code some changes in pdf like the dot colour and one image colour also. but if follow the above steps nothing changes
MY question:- According to the documentation if we set the Image, Graphic and Text values to zero it should ignore any overlapping pixels. So why doesn't that parameter work?
We are talking past each other! What I said was: generate a PDF with crossed out redaction rectangles. Then apply redactions and look at the result. Your two most recent examples look equal. What is this telling me?
Previously you said that more stuff was removed than intended. So what is the relationship here?
fill_textbox()
will likely produce unreadable results. Devanagari can reliably only written using a method with "text shaping" support, like insert_htmlbox.I am moving this to Discussions. There are so far no indications that a bug has been encountered. When necessary, we can open an issue any time.
Description of the bug
I am trying to change the colour of the dot in the PDF. For this, I have applied redaction on the old bindi and added the new bindi with the desired colour.
Problem:-
ScreenShort:-
1. . Problem Delete object
screenshot before applying redaction
screenshot after applying redaction (I have circled the area where the change in the Images has been deleted)
2. Problem Image distribution screenshot before applying redaction (I have circled the area where the change the Image)
screenshot after applying redaction (I have circled the area where the change the Image)
3. . Problem text distribution
screenshot before applying redaction (I have circled the area where the change the text )
screenshot after applying redaction (I have circled the area where the change the text )
How to reproduce the bug
Original PDFS:-
test.pdf test2.pdf
After applying PDFS:- test_after_apply_redaction.pdf test2_after_apply_redaction.pdf
PyMuPDF version
1.24.2
Operating system
Windows
Python version
3.11