censor/Censor
1
37
Fork
You've already forked Censor
3

bug: redaction of vector graphics incomplete #5

Closed
opened 2025年12月01日 16:53:38 +01:00 by mahlzahn · 2 comments

Description

Paths of vector graphics below selected boxes may not be fully removed.

Implementation

(削除) Censor uses the default parameters (削除ここまで) for applying the redaction: graphics=PDF_REDACT_LINE_ART_REMOVE_IF_TOUCHED. (削除) But, this seems not working well? (削除ここまで)

Edit: It wrongly was not applied because of a documentation issue.

Upstream

Report should go here, probably: https://bugs.ghostscript.com/describecomponents.cgi?product=MuPDF

Tested with pyMuPDF versions

  • 1.25.5
  • 1.27.1
## Description Paths of vector graphics below selected boxes may not be fully removed. ## Implementation ~Censor uses the default parameters~ for [applying the redaction](https://pymupdf.readthedocs.io/en/latest/page.html#Page.apply_redactions): `graphics=PDF_REDACT_LINE_ART_REMOVE_IF_TOUCHED`. ~But, this seems not working well?~ Edit: It wrongly was not applied because of a [documentation issue](https://github.com/pymupdf/PyMuPDF/issues/4924). ## Upstream Report should go here, probably: https://bugs.ghostscript.com/describecomponents.cgi?product=MuPDF ## Tested with pyMuPDF versions - [x] 1.25.5 - [x] 1.27.1
Contributor
Copy link

Noticed that signatures from the Tecxoft sample not being redacted. Is that down to this issue #5

Noticed that signatures from the Tecxoft sample not being redacted. Is that down to this issue #5
Author
Owner
Copy link

I reported the documention issue upstream and fixed the application of the strict option in #115.

I reported the [documention issue upstream](https://github.com/pymupdf/PyMuPDF/issues/4924) and fixed the application of the strict option in #115.
Sign in to join this conversation.
No Branch/Tag specified
main
v0.7.3
v0.7.2
v0.7.1
v0.7.0
v0.6.0
v0.5.0
v0.4.0
v0.3.0
v0.2.0
v0.1.0
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
censor/Censor#5
Reference in a new issue
censor/Censor
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?