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

how could I use acrobat SDK plug-ins add image

New Here ,
Dec 28, 2018 Dec 28, 2018

Copy link to clipboard

Copied

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

TOPICS
Acrobat SDK and JavaScript

Views

547

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 ,
Dec 29, 2018 Dec 29, 2018

Copy link to clipboard

Copied

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

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
New Here ,
Dec 29, 2018 Dec 29, 2018

Copy link to clipboard

Copied

do you have any code example?  thanks very much

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 ,
Dec 29, 2018 Dec 29, 2018

Copy link to clipboard

Copied

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 PDFScripting
Use the Acrobat JavaScript Reference early and often

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
Adobe Employee ,
Dec 31, 2018 Dec 31, 2018

Copy link to clipboard

Copied

LATEST

Instead of JavaScript, you can use the AVConversion APIs as well.

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 ,
Dec 29, 2018 Dec 29, 2018

Copy link to clipboard

Copied

There will be a lot of study.

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