mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Added release notes [ci skip]
This commit is contained in:
parent
40bc46ff49
commit
d31de47768
|
@ -464,8 +464,9 @@ Pillow identifies, reads, and writes PNG files containing ``1``, ``L``, ``LA``,
|
|||
v1.1.7.
|
||||
|
||||
As of Pillow 6.0, EXIF data can be read from PNG images. However, unlike other
|
||||
image formats, EXIF data is not guaranteed to have been read until
|
||||
:py:meth:`~PIL.Image.Image.load` has been called.
|
||||
image formats, EXIF data is not guaranteed to be present in
|
||||
:py:attr:`~PIL.Image.Image.info` until :py:meth:`~PIL.Image.Image.load` has been
|
||||
called.
|
||||
|
||||
The :py:meth:`~PIL.Image.Image.open` method sets the following
|
||||
:py:attr:`~PIL.Image.Image.info` properties, when appropriate:
|
||||
|
|
|
@ -165,12 +165,20 @@ language-specific glyphs and ligatures from the font:
|
|||
* ``ImageFont.ImageFont.getsize_multiline()``
|
||||
* ``ImageFont.ImageFont.getsize()``
|
||||
|
||||
Added EXIF class
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
:py:meth:`~PIL.Image.Image.getexif` has been added, and returning an
|
||||
:py:class:`~PIL.Image.Exif` instance. Values can be retrieved and set like a
|
||||
dictionary. When saving JPEG, PNG or WEBP, the instance can be passed as an
|
||||
``exif`` argument to include any changes in the output image.
|
||||
|
||||
PNG EXIF data
|
||||
^^^^^^^^^^^^^
|
||||
|
||||
EXIF data can now be read from and saved to PNG images. However, unlike other image
|
||||
formats, EXIF data is not guaranteed to have been read until
|
||||
:py:meth:`~PIL.Image.Image.load` has been called.
|
||||
formats, EXIF data is not guaranteed to be present in :py:attr:`~PIL.Image.Image.info`
|
||||
until :py:meth:`~PIL.Image.Image.load` has been called.
|
||||
|
||||
Other Changes
|
||||
=============
|
||||
|
|
Loading…
Reference in New Issue
Block a user