We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e5e7e0 commit da2083fCopy full SHA for da2083f
docs/handbook/image-file-formats.rst
@@ -1457,8 +1457,13 @@ PDF
1457
^^^
1458
1459
Pillow can write PDF (Acrobat) images. Such images are written as binary PDF 1.4
1460
-files, using either JPEG or HEX encoding depending on the image mode (and
1461
-whether JPEG support is available or not).
+files. Different encoding methods are used, depending on the image mode.
+
1462
+* 1 mode images are saved using TIFF encoding, or JPEG encoding if libtiff support is
1463
+ unavailable
1464
+* L, RGB and CMYK mode images use JPEG encoding
1465
+* P mode images use HEX encoding
1466
+* RGBA mode images use JPEG2000 encoding
1467
1468
.. _pdf-saving:
1469
0 commit comments