Skip to main content
Participant
December 29, 2018
Question

how could I use acrobat SDK plug-ins add image

  • December 29, 2018
  • 2 replies
  • 802 views

how could I use acrobat SDK plug-ins add image,thanks

This topic has been closed for replies.

2 replies

Legend
December 29, 2018

There will be a lot of study.

Legend
December 29, 2018

Understand image file format and PDF internal file format. Read and convert image file. Create PDEImage. Use PDFEdit API to add image.

Participant
December 29, 2018

do you have any code example?  thanks very much

Thom Parker
Community Expert
Community Expert
December 29, 2018

Download and install the SDK. There are lots of examples.

But the SDK does not provide image format readers/conversions for all image types. Image conversion is a feature of Acrobat, not the SDK. You'll find some image support in the OS API, but image handling  is something for which you'll have to either acquire an additional SDK/API or manually write the code. One way to get around this limitation is to use JavaScript to load an image as a PDF (because Acrobat does know how to convert images), then copy the appropriate structures over to the document where you want it inserted.

If you are new to the PDF format then you have a lot to learn. Start by reading through the PDF specification.

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often