Skip to content

Commit

Permalink
Added release notes for python-pillow#8286
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Sep 10, 2024
1 parent 8d50840 commit 29c340d
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions docs/releasenotes/11.0.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,20 @@ TODO
API Additions
=============

TODO
^^^^

TODO
Writing XMP bytes to JPEG and MPO
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

XMP data can now be saved to JPEG files using an ``xmp`` argument.
```python
im.save("out.jpg", xmp=b"test")
```

The data can also be set through :py:attr:`~PIL.Image.Image.info`, for use when saving
either JPEG or MPO images.
```python
im.info["xmp"] = b"test"
im.save("out.jpg")
```

Other Changes
=============
Expand Down

0 comments on commit 29c340d

Please sign in to comment.