Skip to content
Discussion options

You must be logged in to vote

Hm, removing images is possible in more than one way.
What does "labels printed on these images" mean?

The easiest way to remove images probably is using redaction annotations: loop over the pages, detect all image boundary boxes on it, add a redaction annot for each of the bboxes and then apply the redactions.
... not forgetting to use a suitable garbage collection option on save.

If the "labels" refers to captions of text shown underneath an image: this is not encoded as such in PDF. You must find your own way to locate this text and either make an additional redaction covering it ... or increase the image bbox accordingly if you find a pattern for how these captions are positioned rela…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by megh-khaire
Comment options

You must be logged in to vote
3 replies
@JorjMcKie
Comment options

@JorjMcKie
Comment options

@megh-khaire
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants