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

how to cause a document to be scanned from the JS API

Guest
Oct 28, 2017 Oct 28, 2017

Copy link to clipboard

Copied

Hi!

there is a pda with pasted pictures

1.jpg

It is necessary to combine them programmatically into a single picture

This is perfectly handled by the Scan document function

2.jpg

After it is pressed, a new PDP is saved, where all objects are merged

rummaged all API, but did not find an analog of this function
do not tell me, is it in the API and how to call it?

TOPICS
Acrobat SDK and JavaScript , Windows

Views

451

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
Guest
Oct 31, 2017 Oct 31, 2017

Copy link to clipboard

Copied

Is there anyone alive?

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 ,
Oct 31, 2017 Oct 31, 2017

Copy link to clipboard

Copied

This is 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 ,
Oct 31, 2017 Oct 31, 2017

Copy link to clipboard

Copied

Would flattening work for you?

How about saving the PDF to an image format? Look at the "Save As" options. If this will work, then it can be done from a script.

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
Guest
Nov 01, 2017 Nov 01, 2017

Copy link to clipboard

Copied

Yes, I do, but the 7-page document persists for more than 80 seconds
120 page almost 7 minutes
and the Scan function works quite quickly

I did not find another quick way to convert pdf into images
you can of course convert pdf into ps, then the conversion takes 30 seconds for the 120-page document, but back from ps to pdf it did not turn out yet to convert to look at the result

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 ,
Nov 02, 2017 Nov 02, 2017

Copy link to clipboard

Copied

So you goal is to convert multi-page PDFs into images as quickly as possible. There is no easy solution.  As you've already found out, the scripted solutions fall short and/or are slow.  Of course if it's automated you can always walk away and do something else. Since you think scanning is fast, I have to assume that you have a high speed scanner with a hopper, otherwise you'd think a 7 minute conversion was fast.

So in your case, the real solution is to create a custom plug-in (or stand alone app) for either controlling the scanner or performing the image conversion.  You want high performance, you'll have to pay for it

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
Guest
Nov 02, 2017 Nov 02, 2017

Copy link to clipboard

Copied

LATEST

thank you for your help

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