Skip to main content
Participant
September 13, 2021
Answered

How do you perform the same action on multiple pages within a PDF file?

  • September 13, 2021
  • 1 reply
  • 717 views

I'd like to know if it's possible to batch perform actions on multiple pages with a PDF. For example, I have an image that appears on every page of a PDF that I want to remove. Another more complicated example could be I want to remove an image in the same location of each page of a PDF, but some pages have the image with different dimensions.

This topic has been closed for replies.
Correct answer Karl Heinz Kremer

Because your image is not always the same size, this gets very tricky. For images that are the same size on each page, you could use the redaction tool, and just replace the image with the page background color. You can do a bit more with scripting, but you would have to know the location and size of each image you want to remove, and then use that data to create redaction annotations, that you would then apply in a separate step. 

1 reply

Karl Heinz  Kremer
Community Expert
Karl Heinz KremerCommunity ExpertCorrect answer
Community Expert
September 13, 2021

Because your image is not always the same size, this gets very tricky. For images that are the same size on each page, you could use the redaction tool, and just replace the image with the page background color. You can do a bit more with scripting, but you would have to know the location and size of each image you want to remove, and then use that data to create redaction annotations, that you would then apply in a separate step.