• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Javascript to remove images

Participant ,
Jun 20, 2018 Jun 20, 2018

Copy link to clipboard

Copied

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?

TOPICS
Acrobat SDK and JavaScript

Views

1.9K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jun 20, 2018 Jun 20, 2018

Not possible.

Votes

Translate

Translate
Community Expert ,
Jun 20, 2018 Jun 20, 2018

Copy link to clipboard

Copied

Not possible.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2018 Jun 20, 2018

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 20, 2018 Jun 20, 2018

Copy link to clipboard

Copied

Thank you.  I will give that a try.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jun 20, 2018 Jun 20, 2018

Copy link to clipboard

Copied

The redaction puts a black redaction box in it's place.  I need only the image removed and need to see what was underneath it.  Is that possible?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jun 20, 2018 Jun 20, 2018

Copy link to clipboard

Copied

Redaction can be white or transparent but it removes all content all the way down, like a deep cutout. You will never see what's behind: that's a rule of redaction.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2018 Jun 20, 2018

Copy link to clipboard

Copied

No, that can't be done with a script.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 20, 2018 Jun 20, 2018

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines