From c3e9ff3dcf826a48036af3763d9060d5328331f4 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 28 Feb 2022 08:26:17 +1100 Subject: [PATCH] Added release notes for #6069 --- docs/releasenotes/9.1.0.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/releasenotes/9.1.0.rst b/docs/releasenotes/9.1.0.rst index f377656b3a1..c6e06ad070b 100644 --- a/docs/releasenotes/9.1.0.rst +++ b/docs/releasenotes/9.1.0.rst @@ -127,6 +127,19 @@ By default, :py:meth:`~PIL.Image.Image.getpalette` returns RGB data from the pal A ``rawmode`` argument has been added, to allow the mode to be chosen instead. ``None`` can be used to return data in the current mode of the palette. +Added PyEncoder +^^^^^^^^^^^^^^^ + +:py:class:`~PIL.ImageFile.PyEncoder` has been added, allowing for file encoders to be +written in Python. + +BLP saving +^^^^^^^^^^ + +Support has been added for saving BLP images. ``blp_version`` can be used to specify +whether the image should be saved as BLP1 or BLP2, e.g. +``im.save("out.blp", blp_version="BLP1")``. By default, BLP2 will be used. + Other Changes =============