# PDF to 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 [resizing operations](https://docs.cloudimage.io/go/cloudimage-documentation-v7/en/image-resizing), [image filters](https://docs.cloudimage.io/go/cloudimage-documentation-v7/en/image-filters), [watermarking capabilities](https://docs.cloudimage.io/go/cloudimage-documentation-v7/en/watermarking), and [image compression formats](https://docs.cloudimage.io/go/cloudimage-documentation-v7/en/image-compression). To convert a specific page of the PDF document, use the **doc\_page=X** option:

| Preview                                                                                            | Syntax                                                                                                                                                                                                                                                                         |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ![](https://content.gitbook.com/content/IDIcmPiz7q6Sr6ZHHQxV/blobs/M8sMAAIpAYF9XFlDVl1E/image.png) | [/samples.scaleflex.com/satie2.pdf?<mark style="color:orange;">**w=800**</mark>&<mark style="color:green;">**force\_format=png**</mark>](https://doc.cloudimg.io/https://samples.scaleflex.com/satie2.pdf?w=800\&force_format=png)                                             |
| ![](https://content.gitbook.com/content/IDIcmPiz7q6Sr6ZHHQxV/blobs/O5Fm34HjLOUAVhe5k2nx/image.png) | <p></p><p><a href="https://doc.cloudimg.io/https://samples.scaleflex.com/satie2.pdf?w=800&#x26;doc_page=2">/samples.scaleflex.com/satie2.pdf?<mark style="color:orange;"><strong>w=800</strong></mark>&<mark style="color:orange;"><strong>doc\_page=2</strong></mark></a></p> |
