Commit Graph

13741 Commits

Author SHA1 Message Date
Andrew Murray
0de3beaeaf Removed DPI rounding when BMP loading 2021-05-07 20:50:18 +10:00
Andrew Murray
9d72542c08 Removed DPI rounding from PNG loading 2021-05-07 20:50:01 +10:00
Andrew Murray
e7749abdf9 Corrected error in restoring sys.stdout 2021-05-07 20:44:46 +10:00
Andrew Murray
4080f160b6 Include code in WebP error 2021-05-07 00:12:03 +10:00
Andrew Murray
b9c571a328 Removed WMF DPI rounding 2021-05-06 20:08:54 +10:00
Hugo van Kemenade
8354fa4929
Merge pull request #5468 from radarhere/tiff_docstring
Corrected code references in docstring
2021-05-05 21:43:38 +03:00
Andrew Murray
edc2771909 Corrected code references in docstring 2021-05-05 23:52:59 +10:00
Andrew Murray
2bc754e102
Merge pull request #5462 from adrian-the-git/master
Fix build with libraqm < 0.7.0
2021-05-05 18:02:32 +10:00
Andrew Murray
0985de21af
Added comment
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2021-05-05 15:03:00 +10:00
Hugo van Kemenade
88ab3b5008
Merge pull request #5466 from radarhere/libtiff_versions
Updated tested libtiff versions
2021-05-04 21:51:24 +03:00
Andrew Murray
ec0e93aa10 Updated tested libtiff versions [ci skip] 2021-05-05 00:42:14 +10:00
Hugo van Kemenade
c10608c526
Merge pull request #5464 from radarhere/harfbuzz
Updated harfbuzz to 2.8.1
2021-05-04 12:57:34 +03:00
Andrew Murray
6fc039a21c Updated default value for SAMPLESPERPIXEL tag 2021-05-04 16:50:12 +10:00
Andrew Murray
b3bf77361c Updated harfbuzz to 2.8.1 2021-05-04 13:23:23 +10:00
Hugo van Kemenade
20b8a83773
Merge pull request #5437 from radarhere/stdout 2021-05-03 11:57:46 +03:00
Andrew Murray
0f68e63793 Allow for sys.stdout.buffer to be missing 2021-05-03 18:07:05 +10:00
Adrian Carpenter
b2f92df1ba Fix build with libraqm < 0.7.0
gcc's cpp doesn't short-circuit when RAQM_VERSION_ATLEAST is undefined
so building fails on systems with old libraqm (e.g. Debian 10 for
raspberry pi where wheels w/libraqm support may not be available).
RAQM_VERSION_ATLEAST was introduced with 0.7.0, so the test is
effectively equivalent.
2021-05-02 23:21:29 -07:00
Hugo van Kemenade
d2f2fbacaa
Merge pull request #5426 from radarhere/undefined_zero
Fixed UNDEFINED TIFF tag of length 0 being changed in roundtrip
2021-05-03 09:07:32 +03:00
Andrew Murray
502f497c57 Update CHANGES.rst [ci skip] 2021-05-03 08:48:53 +10:00
Hugo van Kemenade
2125ce8331
Merge pull request #5445 from radarhere/freetype_version
Fixed bug when checking FreeType2 version if it is not installed
2021-05-02 17:24:26 +03:00
Stanislau Tsitsianok
ca67a0c1a2
Added test for #5432 2021-05-02 17:12:27 +03:00
Stanislau Tsitsianok
0c9ffcfa14
Fixed #5432 2021-05-02 17:12:07 +03:00
Andrew Murray
e8f902f987 Update CHANGES.rst [ci skip] 2021-05-02 21:32:51 +10:00
Hugo van Kemenade
0836e388e8
Merge pull request #5459 from radarhere/pdf_float
Do not round dimensions when saving PDF
2021-05-02 11:16:34 +03:00
Andrew Murray
1c52f674a3 Update CHANGES.rst [ci skip] 2021-05-02 08:19:19 +10:00
Hugo van Kemenade
8a8ac60817
Merge pull request #5417 from radarhere/contain
Added ImageOps contain()
2021-05-01 18:44:37 +03:00
Andrew Murray
c062410985 Documented #5414 2021-05-01 23:44:09 +10:00
Andrew Murray
5b0031c9fa Documented #5411 2021-05-01 23:09:20 +10:00
Andrew Murray
f45f7dcc23 Documented #5450 2021-05-01 23:08:49 +10:00
Andrew Murray
b432f838f1 Documented ImageOps contain method 2021-05-01 22:53:46 +10:00
Andrew Murray
d22fe41776 Reorganised test to use parametrize 2021-05-01 22:36:12 +10:00
Andrew Murray
38a520c109 Updated docstrings 2021-05-01 22:35:53 +10:00
Andrew Murray
91b3a9d6a1
Updated docstring
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-05-01 21:56:49 +10:00
Andrew Murray
bc935f9970 Do not round dimensions when saving PDF 2021-05-01 12:13:09 +10:00
Andrew Murray
11d1458316 Replaced uint16 and uint32 with uint16_t and uint32_t to resolve TIFF deprecations 2021-05-01 00:51:39 +10:00
mergify[bot]
676f4dbefb
Merge pull request #5457 from radarhere/error
Clarified error message
2021-04-30 10:42:29 +00:00
Andrew Murray
1c617a9877 Clarified error message 2021-04-30 19:36:30 +10:00
Andrew Murray
256372724b
Merge pull request #5456 from python-pillow/revert-5447-python310
Revert "Fixed Python 3.10 at alpha.7": use 3.10-dev
2021-04-30 19:22:22 +10:00
Hugo van Kemenade
05f9e23024
Merge pull request #5453 from nulano/pypy-win64
GHA: Update test-windows for 64-bit PyPy 7.3.4 release
2021-04-30 12:09:59 +03:00
Hugo van Kemenade
ee94f4e394
Revert "Fixed Python 3.10 at alpha.7" 2021-04-30 11:35:27 +03:00
Andrew Murray
ca3ad49de3 Fixed bug when checking FreeType2 version if it is not installed 2021-04-29 23:10:08 +10:00
Andrew Murray
8bc19ac78c Do not alter pixels outside mask when drawing text on an image with transparency 2021-04-29 23:08:25 +10:00
Andrew Murray
b78cf8cd75 Added state methods to allow pickling of IFDRational 2021-04-29 22:47:44 +10:00
Andrew Murray
537cd7a82e Removed TIFF DPI rounding 2021-04-29 22:47:44 +10:00
Andrew Murray
fd299e36ce Reset handle when seeking backwards as well 2021-04-29 22:47:20 +10:00
Andrew Murray
ce3d69baf9 Simplified code by writing bytes instead of using wrapping to write strings 2021-04-29 21:35:57 +10:00
Andrew Murray
9c06ce044c Changed PSDraw default from sys.stdout to sys.stdout.buffer 2021-04-29 21:35:57 +10:00
Andrew Murray
bb12c8079e Added missing import 2021-04-29 21:35:57 +10:00
Andrew Murray
fae9afe351 Replace sys.stdout with sys.stdout.buffer when saving 2021-04-29 21:35:57 +10:00
Andrew Murray
622ba122ce Added Exif load_from_fp method to get TIFF tag_v2 data 2021-04-29 21:21:55 +10:00