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

Compress a PDF by C#.

Community Beginner ,
Jan 19, 2022 Jan 19, 2022

Copy link to clipboard

Copied

Hi.

I want to compress a PDF by C#.
Please tell me three questions.

 

1. Acrobat SDK can compress a PDF by C#?
I want to sample source code.
2. Can I try it for free?
3. If use Acrobat SDK, I think need Acrobat application.
So, what do you need, Acrobat Pro or Acrobat Standard?

 

Thank you.

TOPICS
Acrobat SDK and JavaScript , Windows

Views

1.1K

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 ,
Jan 19, 2022 Jan 19, 2022

Copy link to clipboard

Copied

postscript.

4. I want to run in WebServer.

Acrobat SDK can run WebServer?

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 ,
Jan 20, 2022 Jan 20, 2022

Copy link to clipboard

Copied

Doi you want to run this on a server, or for a single user who will run this manually in an interactive session, or something else?

What exactly do you mean by "compress"? Do you mean "reduce quality to make the file size smaller", or "reduce the page size", or something else?


The Acrobat SDK is a tool for automating Acrobat, so Acrobat is required. You can only automate functions in the version of Acrobat you buy. Some functions need Pro, especially the "PDF Optimizer". 

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 ,
Jan 20, 2022 Jan 20, 2022

Copy link to clipboard

Copied

Sorry, I missed your postscript. Acrobat cannot be used on a web server. It is not technically suitable (it is interactive and pops up messages) and the license forbids it.

 

Adobe have a suite of web APIs which may interest you. 

Info Adobe PDF Services | PDF Tools APIs | Adobe Document Services - Adobe Developers

Forum Document Services APIs - Adobe Support Community

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 ,
Jan 20, 2022 Jan 20, 2022

Copy link to clipboard

Copied

Thank you for reply.

 

I want to run on a server.
compress mean is reduce quality to make the file size smaller.
If Adobe have other products, please let me know.

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 ,
Jan 20, 2022 Jan 20, 2022

Copy link to clipboard

Copied

If you don't want to use Adobe's web services from your web server, you could look at Adobe Experience Manager. Outside my experience, enterprise level software with many PDF functions. Expect a five figure cost per annum.

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 ,
Jan 20, 2022 Jan 20, 2022

Copy link to clipboard

Copied

Ok, Thank you very much.

I'll consider it.

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 ,
Jan 20, 2022 Jan 20, 2022

Copy link to clipboard

Copied

LATEST

What you want is a PDF Library that can be licensed for the server and is capable of low level PDF operations.  There's aren't many of those. 

The Officail Adobe SDK is sold by DataLogics

https://www.datalogics.com/products/pdf-sdks/adobe-pdf-library/?gclid=Cj0KCQiAraSPBhDuARIsAM3Js4onLA...

 

However, PDF is not like a raster image format. It uses a vector graphics language for page content. So the visual quality can't be traded off for size. I'd suggest you read the PDF Specification - ISO 32000

 

 

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