# PDF

## Introduction

This document provides an overview of the integration between Automate and PDF, detailing how Automate interacts with PDF to automate tasks and streamline processes.

The integration enables users to automate various actions within PDF files, enhancing efficiency and productivity.

## What is PDF?

This section explains the core functionalities and benefits of PDF.

PDF (Portable Document Format) is a cross-platform file format used to create portable and printable documents. It is widely used for its compatibility and versatility.

**Key Features:**

* <mark style="color:orange;">Image Extraction:</mark> Export images from PDF files.
* <mark style="color:orange;">Flexible File Handling:</mark> Allows selection of PDF files or custom file paths.
* <mark style="color:orange;">Password Protection:</mark> Supports encryption with user and owner passwords.
* <mark style="color:orange;">Image Conversion:</mark> Convert extracted images to different formats such as TIFF, JPEG, BMP, GIF, and PNG.

## Automate Integration with PDF

Describe how Automate enables automation of tasks using pre-built actions in PDF.

Automate interacts with PDF to automate various tasks, including image extraction and conversion.

**Examples of Automated Tasks:**

* Extracting images from PDF files.
* Converting images to different formats.
* Setting resolution and page range for image extraction.

## How To Use Actions

### Extract Image

{% embed url="<https://drive.google.com/file/d/1O6Mpk_1Ds-OvEHxyqsjqcOIwMJ6jXPgw/view?usp=sharing>" %}

Export images from PDF files.

**Usage:**

1. Select PDF File or Define File Path.
2. Optionally enter User Password and Owner Password.
3. Specify the page range for image extraction.
4. Choose the type of image to convert.
5. Set resolution settings.
6. Assign extracted images to a string variable.

**Inputs:**

* <mark style="color:green;">PDF File or File Path</mark>
* <mark style="color:green;">User Password (optional)</mark>
* <mark style="color:green;">Owner Password (optional)</mark>
* <mark style="color:green;">Page Range</mark>
* <mark style="color:green;">Image Type</mark>
* <mark style="color:green;">Resolution Settings</mark>

**Outputs:**

* Extracted Images

<figure><img src="https://4222414448-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMAf5diEa8kgXDA6h47Cu%2Fuploads%2Fgjpq8qQxpBDnerMXDLep%2Fimage.png?alt=media&#x26;token=9202b946-7a73-4ba2-bb9f-675df72383e7" alt=""><figcaption></figcaption></figure>

***

## Additional Tips

### [**Use Cases**](https://docs.autommate.com/userguide/use-cases)

### [FAQ](https://docs.autommate.com/userguide/faq)
