Skip to main content
PDF Automation Station
Community Expert
Community Expert
Jun 20, 2018 3:53 PM UTC
Answered

Javascript to remove images

I have a PDF which contains the same image in the same location on every page.  The image looks like a stamp with a transparent background that has been flattened into the document.  It can easily be removed manually in edit mode with Acrobat Pro DC.  Is it possible to automate this process using javascript or an action?

This topic is closed to new replies. Start a new post to keep the conversation going.
Bernd Alheit
Bernd AlheitCorrect answer
Community Expert
Jun 20, 2018 6:05 PM UTC

Not possible.

7 replies

Bernd Alheit
Community Expert
Community Expert
Jun 20, 2018 8:32 PM UTC

Remove the image from the original document and re-create the PDF file.

Translate
try67
Community Expert
Community Expert
Jun 20, 2018 6:36 PM UTC

If the images are always in the same location on the page you can use a script to add a Redaction annotation on that spot and then apply it. That will remove everything there.

Translate
PDF Automation Station
Community Expert
Community Expert
Jun 20, 2018 6:57 PM UTC

Thank you.  I will give that a try.

Translate
Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
Jun 20, 2018 6:05 PM UTC

Not possible.

Translate