> For the complete documentation index, see [llms.txt](https://docs.scaleflex.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scaleflex.com/dynamic-media-optimization-dmo/transformations/static-content-optimization/pdf-to-image.md). Agents can also search and read this documentation through its [MCP server](https://docs.scaleflex.com/~gitbook/mcp).

# PDF to image

Convert a specific page from a PDF document to an image

<mark style="color:orange;">**doc\_page=X**</mark>

When you provide a link to a PDF file, the first page is converted to an image and delivered via CDN. You can use all available [Operations](https://docs.scaleflex.com/dynamic-media-optimization-dmo/transformations/image-optimization/operations.md), [Filters](https://docs.scaleflex.com/dynamic-media-optimization-dmo/transformations/image-optimization/filters.md), [Watermarking](https://docs.scaleflex.com/dynamic-media-optimization-dmo/transformations/image-optimization/watermarking.md) capabilities and [Image compression](https://docs.scaleflex.com/dynamic-media-optimization-dmo/transformations/image-optimization/image-compression.md) parameters. To convert a specific page of the PDF document, use the **doc\_page=X** parameter.

| Preview                                                                                                                                                                                                             | Syntax                                                                                                                                                                                        |
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| ![](https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2FsekYrdqugEFZBVL5zERR%2Fimage.png?alt=media\&token=b0a6c437-292c-4037-8f38-99b8d65beddc) | [/docs/satie2.pdf?<mark style="color:orange;">**w=800**</mark>&<mark style="color:orange;">**force\_format=png**</mark>](https://fdocs.filerobot.com/docs/satie2.pdf?w=800\&force_format=png) |
| ![](https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2FniFCP6ucKsqxRp197NWV%2Fimage.png?alt=media\&token=050f297e-0cc4-4809-94d0-8ba386cc8680) | [/docs/satie2.pdf?<mark style="color:orange;">**w=800**</mark>&<mark style="color:orange;">**doc\_page=2**</mark>](https://fdocs.filerobot.com/docs/satie2.pdf?w=800\&doc_page=2)             |
