Skip to main content
PDF Automation Station
Community Expert
Community Expert
June 20, 2018
Answered

Javascript to remove images

  • June 20, 2018
  • 3 replies
  • 2718 views

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 has been closed for replies.
Correct answer Bernd Alheit

Not possible.

3 replies

Bernd Alheit
Community Expert
Community Expert
June 20, 2018

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

try67
Community Expert
Community Expert
June 20, 2018

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.

PDF Automation Station
Community Expert
Community Expert
June 20, 2018

Thank you.  I will give that a try.

Bernd Alheit
Community Expert
Bernd AlheitCommunity ExpertCorrect answer
Community Expert
June 20, 2018

Not possible.