Skip to content

Commit b409539

Browse files
committed
Add docs about PDF support
1 parent dc4cd61 commit b409539

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docs/image_formats_support.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ At the moment, imgproxy supports only the most popular image formats:
1919
| HEIC | `heic` | :white_check_mark: | :white_check_mark: |
2020
| BMP | `bmp` | :white_check_mark: | :white_check_mark: |
2121
| TIFF | `tiff` | :white_check_mark: | :white_check_mark: |
22-
| PDF ((pro)) | `pdf` | :white_check_mark: | :x: |
22+
| PDF ((pro)) | `pdf` | :white_check_mark: | [See notes](#pdf-support) |
2323
| PSD ((pro)) | `psd` | [See notes](#psd-support) | :x: |
2424
| MP4 (h264) ((pro)) | `mp4` | [See notes](#video-thumbnails) | :white_check_mark: |
2525
| Other video formats ((pro)) | | [See notes](#video-thumbnails) | :x: |
@@ -50,6 +50,14 @@ Since the processing of animated images is a pretty heavy process, only one fram
5050
imgproxy summarizes all frames resolutions while the checking source image resolution.
5151
:::
5252

53+
## PDF support ((pro)) {#pdf-support}
54+
55+
imgproxy supports PDF both as a source and result format.
56+
57+
When PDF is used as a source, imgproxy renders the specified pages as raster images.
58+
59+
When PDF is used as a result format, imgproxy renders the image as a JPEG image and embeds it into a single-page PDF document.
60+
5361
## PSD support ((pro)) {#psd-support}
5462

5563
PSD (Photoshop Document) and PSB (Photoshop Big) files are supported as source images, but there are some limitations:

0 commit comments

Comments
 (0)