Skip to content

Commit 44b2f5e

Browse files
authored
Merge pull request #8367 from radarhere/releasenotes
2 parents e91aedb + 5c67178 commit 44b2f5e

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

docs/releasenotes/11.0.0.rst

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ TiffImagePlugin IFD_LEGACY_API
4545

4646
An unused setting, ``TiffImagePlugin.IFD_LEGACY_API``, has been removed.
4747

48+
WebP 0.4
49+
^^^^^^^^
50+
51+
Support for WebP 0.4 and earlier has been removed; WebP 0.5 is the minimum supported.
52+
4853
Deprecations
4954
============
5055

@@ -115,10 +120,18 @@ TODO
115120
API Additions
116121
=============
117122

118-
TODO
119-
^^^^
123+
Writing XMP bytes to JPEG and MPO
124+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
120125

121-
TODO
126+
XMP data can now be saved to JPEG files using an ``xmp`` argument::
127+
128+
im.save("out.jpg", xmp=b"test")
129+
130+
The data can also be set through :py:attr:`~PIL.Image.Image.info`, for use when saving
131+
either JPEG or MPO images::
132+
133+
im.info["xmp"] = b"test"
134+
im.save("out.jpg")
122135

123136
Other Changes
124137
=============
@@ -132,6 +145,8 @@ of 3.13.0 final (2024-10-01, :pep:`719`).
132145

133146
Pillow 11.0.0 now officially supports Python 3.13.
134147

148+
Support has also been added for the experimental free-threaded mode of :pep:`703`.
149+
135150
C-level Flags
136151
^^^^^^^^^^^^^
137152

0 commit comments

Comments
 (0)