Reducing image resolution using actions

Apr 14, 2020

Copy link to clipboard

Copied

I am creating a set of sequential actions to perform on my PDFs. Things like:

1. Adding a Watermark

2. Optimizing PDF to reduce the resolution of the images

3. Flattening the file

4. Securing with a pwd to prohibit editing

5. Sanitizing

etc...

 

While all other actions work just fine, the optimize PDF doesnt seem to work. Does anybody know how to reduce the resolution to a specific ppi value for all the images in the PDF? If I go to "File/Save as other/Optimized PDF/" it lets me choose the downsample rates etc. Is there a way to add this procedure to an action? 

 

I want to be able to click on one button and run all (above mentioned) actions together for any given PDF. While all other actions worked fine, I couldnt figure out a way to downsample the images automatically.

 

Appreciate your help

TOPICS
Acrobat SDK and JavaScript, Comment review and collaborate PDF, Edit and convert PDFs, How to, PDF forms

Views

27

Likes

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

Reducing image resolution using actions

Apr 14, 2020

Copy link to clipboard

Copied

I am creating a set of sequential actions to perform on my PDFs. Things like:

1. Adding a Watermark

2. Optimizing PDF to reduce the resolution of the images

3. Flattening the file

4. Securing with a pwd to prohibit editing

5. Sanitizing

etc...

 

While all other actions work just fine, the optimize PDF doesnt seem to work. Does anybody know how to reduce the resolution to a specific ppi value for all the images in the PDF? If I go to "File/Save as other/Optimized PDF/" it lets me choose the downsample rates etc. Is there a way to add this procedure to an action? 

 

I want to be able to click on one button and run all (above mentioned) actions together for any given PDF. While all other actions worked fine, I couldnt figure out a way to downsample the images automatically.

 

Appreciate your help

TOPICS
Acrobat SDK and JavaScript, Comment review and collaborate PDF, Edit and convert PDFs, How to, PDF forms

Views

28

Likes

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
Apr 14, 2020 0
Apr 15, 2020

Copy link to clipboard

Copied

You can use a preflight option for this.  In fact, you can create your own custom preflight option, which can then be called by the Action. 

Likes

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
Reply
Loading...
Apr 15, 2020 0