Skip to content

Commit 13cedb9

Browse files
committed
Added release notes for #6069
1 parent 2f2b48d commit 13cedb9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

docs/releasenotes/9.1.0.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ By default, :py:meth:`~PIL.Image.Image.getpalette` returns RGB data from the pal
153153
A ``rawmode`` argument has been added, to allow the mode to be chosen instead. ``None``
154154
can be used to return data in the current mode of the palette.
155155

156+
Added PyEncoder
157+
^^^^^^^^^^^^^^^
158+
159+
:py:class:`~PIL.ImageFile.PyEncoder` has been added, allowing for file encoders to be
160+
written in Python.
161+
156162
Other Changes
157163
=============
158164

@@ -169,3 +175,10 @@ Image._repr_pretty_
169175
``im._repr_pretty_`` has been added to provide a representation of an image without the
170176
identity of the object. This allows Jupyter to describe an image and have that
171177
description stay the same on subsequent executions of the same code.
178+
179+
Added BLP saving
180+
^^^^^^^^^^^^^^^^
181+
182+
Support has been added for saving BLP images. ``blp_version`` can be used to specify
183+
whether the image should be saved as BLP1 or BLP2, e.g.
184+
``im.save("out.blp", blp_version="BLP1")``. By default, BLP2 will be used.

0 commit comments

Comments
 (0)