Get page as picture
Render one page as a PNG picture, returned as data (data: URI) with the page size in points; used by OneAgentStudio to draw an area to read, and to show a page in forms or emails.
Command in the PDF toolkit · id ooa.pdf/render_page · 4 inputs (1 required), 4 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Path | File | Yes | PDF file. | |
| Page | Number | No | 1 | 1-based page number. |
| Resolution (DPI) | Number | No | 96 | Resolution of the picture. |
| Password | Credential | No | Password for protected PDFs. |
Outputs
| Output | Type | What it is |
|---|---|---|
| image | String | The page as a data:image/png;base64 URI. |
| width_points | Number | Page width in points (72 per inch), as Extract text from area measures it. |
| height_points | Number | Page height in points. |
| page_count | Number | Number of pages in the file. |