Skip to content

Commit

Permalink
Added release notes for python-pillow#6069
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Feb 27, 2022
1 parent 2559913 commit c3e9ff3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/releasenotes/9.1.0.rst
Expand Up @@ -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
=============

Expand Down

0 comments on commit c3e9ff3

Please sign in to comment.