diff --git a/docs/installation.rst b/docs/installation.rst index 586d9d581..3ceb0f425 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -54,12 +54,12 @@ Many of Pillow's features require external libraries: * Pillow has been tested with libjpeg versions **6b**, **8**, and **9** and libjpeg-turbo version **8**. * Starting with Pillow 3.0.0, libjpeg is required by default, but - may be disabled with the `--disable-jpeg` flag. + may be disabled with the ``--disable-jpeg`` flag. * **zlib** provides access to compressed PNGs * Starting with Pillow 3.0.0, zlib is required by default, but may - be disabled with the `--disable-zlib` flag. + be disabled with the ``--disable-zlib`` flag. * **libtiff** provides compressed TIFF functionality diff --git a/docs/releasenotes/3.0.0.rst b/docs/releasenotes/3.0.0.rst index e62076052..95f6be132 100644 --- a/docs/releasenotes/3.0.0.rst +++ b/docs/releasenotes/3.0.0.rst @@ -42,4 +42,11 @@ have been removed in this release:: ImageWin.fromstring() ImageWin.tostring() +LibJpeg and Zlib are Required by Default +---------------------------------------- + +The external dependencies on libjpeg and zlib are now required by default. +If the headers or libraries are not found, then installation will abort +with an error. This behaviour can be disabled with the ``--disable-libjpeg`` +and ``--disable-zlib`` flags.