Convert to images
Save each page, or chosen pages, as an image (PNG, JPEG, BMP, GIF or TIFF) in colour, grey or black and white, for OCR or previews.
Command in the PDF toolkit · id ooa.pdf/to_images · 10 inputs (2 required), 1 output
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | PDF file. | |
| Target folder | File | Yes | Folder for the images. | |
| Resolution (DPI) | Number | No | 150 | Resolution; 300 for OCR. |
| Format | String | No | png | Image file format. |
| Color | String | No | color | color keeps the colours; gray gives greyscale; black_white gives 1-bit images, often best for OCR. |
| Pages | String | No | Pages to convert, e.g. 1,3,5-7; every page when empty. | |
| File prefix | String | No | Start of each image's file name, followed by _page1 and so on; the PDF's name when empty. | |
| Password | Credential | No | Password for protected PDFs. | |
| Jpeg quality | Number | No | 90 | JPEG quality from 1 (smallest file) to 100 (best picture); also used for TIFF with jpeg compression. |
| Tiff compression | String | No | lzw | TIFF compression: lzw and deflate are lossless; ccitt_g4 gives the smallest black-and-white files (pages are made black and white); jpeg suits photos. |
Outputs
| Output | Type | What it is |
|---|---|---|
| files | List | Created images. |