Skip to main content
Known Participant
August 1, 2017
Question

Acrobat Javascript Interface, add Image, save as PDF/X1a

  • August 1, 2017
  • 1 reply
  • 449 views

I need to be able to add and place one or more TIF images into a page in a PDF and save it as PDF/X1a.  I am using Acrobat DC and the JavaScript interface right now.

I have tried successfully creating a Button field where the image should go, and then use importIcon() to import the image, and buttonSetIcon() to insert it into the field.  But, I don't want a button field in the PDF.

I have also successfully tried using addWatermarkFromFile which works great with one problem: The image has a transparency property and because of that I can't export to PDF/X1a.

Any help is appreciated.

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
August 1, 2017

You can flatten the buttons.