From 914382278510c40c6aec2ddb65ac8ad547006cbd Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 1 May 2021 23:18:39 +1000 Subject: [PATCH] Documented #5414 --- docs/releasenotes/8.3.0.rst | 7 +++++++ docs/releasenotes/index.rst | 1 + 2 files changed, 8 insertions(+) diff --git a/docs/releasenotes/8.3.0.rst b/docs/releasenotes/8.3.0.rst index 312161da6ce..f33c4a6ca7c 100644 --- a/docs/releasenotes/8.3.0.rst +++ b/docs/releasenotes/8.3.0.rst @@ -25,6 +25,13 @@ Pillow 7.0 changed the default resampling filter to ``Image.BICUBIC``. However, is not supported yet for images with a custom number of bits, the default filter for those modes has been reverted to ``Image.NEAREST``. +ImageMorph incorrect mode errors +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +For :py:meth:`~PIL.ImageMorph.apply`, :py:meth:`~PIL.ImageOps.match` and +:py:meth:`~PIL.ImageOps.get_on_pixels`, if the image mode is not L, an +:py:exc:`Exception` was thrown. This has now been changed to a :py:exc:`ValueError`. + API Additions ============= diff --git a/docs/releasenotes/index.rst b/docs/releasenotes/index.rst index 11773867551..3e23e43d3a1 100644 --- a/docs/releasenotes/index.rst +++ b/docs/releasenotes/index.rst @@ -14,6 +14,7 @@ expected to be backported to earlier versions. .. toctree:: :maxdepth: 2 + 8.3.0 8.2.0 8.1.2 8.1.1