mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-13 18:56:17 +03:00
Merge branch 'master' into release-notes
This commit is contained in:
commit
2b05506bca
27
CHANGES.rst
27
CHANGES.rst
|
@ -5,6 +5,33 @@ Changelog (Pillow)
|
|||
8.0.0 (unreleased)
|
||||
------------------
|
||||
|
||||
- Drop support for PyPy3 < 7.2.0 #4964
|
||||
[nulano]
|
||||
|
||||
- Allow tuples with one item to give single color value in getink #4927
|
||||
[radarhere, nulano]
|
||||
|
||||
- Removed OSError in favour of DecompressionBombError for BMP #4966
|
||||
[radarhere]
|
||||
|
||||
- Implemented another ellipse drawing algorithm #4523
|
||||
[xtsm, radarhere]
|
||||
|
||||
- Removed unused JpegImagePlugin._fixup_dict function #4957
|
||||
[radarhere]
|
||||
|
||||
- Added reading and writing of private PNG chunks #4292
|
||||
[radarhere]
|
||||
|
||||
- Fixed bug in Exif __delitem__ #4942
|
||||
[radarhere]
|
||||
|
||||
- Fix crash in ImageTk.PhotoImage on MinGW 64-bit #4946
|
||||
[nulano]
|
||||
|
||||
- Moved CVE images to pillow-depends #4929
|
||||
[radarhere]
|
||||
|
||||
- Fixed loading profile with non-ASCII path on Windows #4914
|
||||
[radarhere]
|
||||
|
||||
|
|
|
@ -118,7 +118,7 @@ def test_text_direction_ttb():
|
|||
|
||||
target = "Tests/images/test_direction_ttb.png"
|
||||
with Image.open(target) as target_img:
|
||||
assert_image_similar(im, target_img, 1.15)
|
||||
assert_image_similar(im, target_img, 2.8)
|
||||
|
||||
|
||||
def test_text_direction_ttb_stroke():
|
||||
|
@ -142,7 +142,7 @@ def test_text_direction_ttb_stroke():
|
|||
|
||||
target = "Tests/images/test_direction_ttb_stroke.png"
|
||||
with Image.open(target) as target_img:
|
||||
assert_image_similar(im, target_img, 12.4)
|
||||
assert_image_similar(im, target_img, 19.4)
|
||||
|
||||
|
||||
def test_ligature_features():
|
||||
|
|
|
@ -134,11 +134,6 @@ and :py:meth:`.FreeTypeFont.getbbox` return the bounding box of rendered text.
|
|||
|
||||
These functions accept an ``anchor`` parameter, see :ref:`text-anchors` for details.
|
||||
|
||||
Security
|
||||
========
|
||||
|
||||
TODO
|
||||
|
||||
Other Changes
|
||||
=============
|
||||
|
||||
|
@ -152,6 +147,16 @@ The ``align`` parameter of :py:meth:`.ImageDraw.multiline_text` now gives better
|
|||
|
||||
TrueType fonts with embedded bitmaps are now supported.
|
||||
|
||||
Added writing of subIFDs
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
When saving EXIF data, Pillow is now able to write subIFDs, such as the GPS IFD. This
|
||||
should happen automatically when saving an image using the EXIF data that it was opened
|
||||
with, such as in :py:meth:`~PIL.ImageOps.exif_transpose`.
|
||||
|
||||
Previously, the code of the first tag of the subIFD was incorrectly written as the
|
||||
offset.
|
||||
|
||||
Error for large BMP files
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
|
@ -184,9 +184,9 @@ deps = {
|
|||
"libs": [r"libpng16.lib"],
|
||||
},
|
||||
"freetype": {
|
||||
"url": "https://download.savannah.gnu.org/releases/freetype/freetype-2.10.2.tar.gz", # noqa: E501
|
||||
"filename": "freetype-2.10.2.tar.gz",
|
||||
"dir": "freetype-2.10.2",
|
||||
"url": "https://download.savannah.gnu.org/releases/freetype/freetype-2.10.3.tar.gz", # noqa: E501
|
||||
"filename": "freetype-2.10.3.tar.gz",
|
||||
"dir": "freetype-2.10.3",
|
||||
"patch": {
|
||||
r"builds\windows\vc2010\freetype.vcxproj": {
|
||||
# freetype setting is /MD for .dll and /MT for .lib, we need /MD
|
||||
|
|
Loading…
Reference in New Issue
Block a user