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

I created Application by Using SDK to convert Word document to PDF. It works fine but after conversation PDF file's size increases so much. Word document with 15-20KB becomes 1MB PDF file after conversation. How can I optimize the PDF file's size?

Community Beginner ,
Mar 13, 2018 Mar 13, 2018

Copy link to clipboard

Copied

I created Application by Using SDK to convert Word document to PDF.

It works fine but after conversation PDF file's size increases so much.

15-20 KB Word document becomes 1 MB PDF file after conversation.

How can I optimize the PDF file's size?

TOPICS
Acrobat SDK and JavaScript

Views

681

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 Beginner , Mar 14, 2018 Mar 14, 2018

I found the way, actually need to pass another param "cConvID".

Just of the complete conclusion,

Try not to use external (embedded) fonts.

And Instead of saving do "saveAs" with passing param "cConvID".

Votes

Translate

Translate
Adobe Employee ,
Mar 13, 2018 Mar 13, 2018

Copy link to clipboard

Copied

I suspect that is because you are embedding fonts, and that particular document uses a LOT of fonts…but I can only guess…

How are you converting the Word file using the SDK? What settings for conversion are you using?

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 Beginner ,
Mar 13, 2018 Mar 13, 2018

Copy link to clipboard

Copied

No it does not contains any special fonts, only has Arial.

But I found that size increases after adding Watermark to the converted PDF. Watermark is only a text(no image).

This is the code snippet

Please let me know how to optimize PDF after adding watermark.

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 ,
Mar 14, 2018 Mar 14, 2018

Copy link to clipboard

Copied

AH!!!

But your watermark will cause a font embedding – and potentially a full embed (hence the size increase)

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 ,
Mar 14, 2018 Mar 14, 2018

Copy link to clipboard

Copied

Don’t use Arial – use Helvetica.

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 Beginner ,
Mar 14, 2018 Mar 14, 2018

Copy link to clipboard

Copied

I had used Helvetica earlier but the result was the same.

From the another post I found to use saveAs instead of Save but that is also not working.

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 ,
Mar 13, 2018 Mar 13, 2018

Copy link to clipboard

Copied

Use Audit Space Usage in Save As Optimized PDF to analyse what the file is full of.

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 Beginner ,
Mar 13, 2018 Mar 13, 2018

Copy link to clipboard

Copied

"Use Audit Space Usage in Save As Optimized PDF to analyse what the file is full of."

Can you please give more information on it or some code snippet?

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 ,
Mar 14, 2018 Mar 14, 2018

Copy link to clipboard

Copied

This is not an API  Just look under Save As and explore.

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 Beginner ,
Mar 14, 2018 Mar 14, 2018

Copy link to clipboard

Copied

I found the way, actually need to pass another param "cConvID".

Just of the complete conclusion,

Try not to use external (embedded) fonts.

And Instead of saving do "saveAs" with passing param "cConvID".

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 ,
Mar 14, 2018 Mar 14, 2018

Copy link to clipboard

Copied

Yes, that will 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
Community Beginner ,
Mar 14, 2018 Mar 14, 2018

Copy link to clipboard

Copied

LATEST

Thank you everyone for you help. I am just marking my concluded answer as Correct Answer to keep the complete information.

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