File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed
Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,11 @@ TiffImagePlugin IFD_LEGACY_API
4545
4646An 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+
4853Deprecations
4954============
5055
@@ -115,10 +120,18 @@ TODO
115120API 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
123136Other Changes
124137=============
@@ -132,6 +145,8 @@ of 3.13.0 final (2024-10-01, :pep:`719`).
132145
133146Pillow 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+
135150C-level Flags
136151^^^^^^^^^^^^^
137152
You can’t perform that action at this time.
0 commit comments