mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
Merge pull request #6784 from radarhere/jpeg_comment
Added releases notes for #6774
This commit is contained in:
commit
4c9ed122f3
|
@ -474,6 +474,11 @@ The :py:meth:`~PIL.Image.Image.save` method supports the following options:
|
|||
|
||||
.. versionadded:: 2.5.0
|
||||
|
||||
**comment**
|
||||
A comment about the image.
|
||||
|
||||
.. versionadded:: 9.4.0
|
||||
|
||||
|
||||
.. note::
|
||||
|
||||
|
|
|
@ -51,6 +51,14 @@ getxmp()
|
|||
`XMP data <https://en.wikipedia.org/wiki/Extensible_Metadata_Platform>`_ can now be
|
||||
decoded for WEBP images through ``getxmp()``.
|
||||
|
||||
Writing JPEG comments
|
||||
^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
When saving a JPEG image, a comment can now be written from
|
||||
:py:attr:`~PIL.Image.Image.info`, or by using an argument when saving::
|
||||
|
||||
im.save(out, comment="Test comment")
|
||||
|
||||
Security
|
||||
========
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user