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

GH-314 image and text redaction support #335

Merged
merged 36 commits into from
Feb 6, 2024
Merged

GH-314 image and text redaction support #335

merged 36 commits into from
Feb 6, 2024

Conversation

pcorless
Copy link
Owner

@pcorless pcorless commented Jan 30, 2024

This is pretty big piece of work that introduces support for redaction annotations. A document can now have a number of redaction annotation created and upon export any text content will be removed from the document as well as black pixels burned into the underling images and their respective mask data.

  • document must undergo the export process to remove PDF content. If the document is simply saved the Redaction annotations will remain just regular annotations and no content will be removed.
  • The exported document will have Square annotations in place of any redaction annotations. This is mainly to allow for a black "marker" type effect for text removal.

pcorless and others added 24 commits November 7, 2023 22:22
… Addition of predector encoding to make rgb images a little smaller when possible
…rom the dialog as well as save and cancel
# Conflicts:
#	core/core-awt/src/main/java/org/icepdf/core/pobjects/HexStringObject.java
#	core/core-awt/src/main/java/org/icepdf/core/pobjects/LiteralStringObject.java
#	core/core-awt/src/main/java/org/icepdf/core/pobjects/StringObject.java
#	core/core-awt/src/main/java/org/icepdf/core/util/updater/writeables/BaseWriter.java
#	core/core-awt/src/main/java/org/icepdf/core/util/updater/writeables/StreamWriter.java
@pcorless pcorless changed the title GH314 image and text redaction support GH-314 image and text redaction support Feb 1, 2024
@pcorless pcorless marked this pull request as ready for review February 5, 2024 04:47
Patrick Corless and others added 2 commits February 4, 2024 21:49
# Conflicts:
#	viewer/viewer-awt/src/main/java/org/icepdf/ri/common/tools/TextSelectionPageHandler.java
#	viewer/viewer-awt/src/main/java/org/icepdf/ri/common/views/annotations/TextMarkupAnnotationComponent.java
@pcorless pcorless merged commit 3f345f7 into master Feb 6, 2024
@pcorless pcorless deleted the GH-314.redaction branch February 6, 2024 05:38
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.

1 participant