Commit Graph

11717 Commits

Author SHA1 Message Date
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
976d9fa347 Fixed UNDEFINED TIFF tag of length 0 being changed in roundtrip 2021-04-29 21:21:09 +10:00
Andrew Murray
ef9a8e5f7f Update CHANGES.rst [ci skip] 2021-04-29 21:18:54 +10:00
Hugo van Kemenade
b3bb58746c
Merge pull request #5450 from radarhere/webp_method
Changed WebP default "method" value to 4
2021-04-29 14:17:05 +03:00
Hugo van Kemenade
4669345746
Merge pull request #5447 from radarhere/python310
Fixed Python 3.10 at alpha.7
2021-04-29 14:16:18 +03:00
Andrew Murray
5c9faf043f
Merge pull request #5451 from radarhere/fedora
Added Fedora 34
2021-04-28 19:24:55 +10:00
Andrew Murray
2c03800824 Changed default "method" value to 4 2021-04-28 18:20:44 +10:00
Andrew Murray
f1b1e9465d Added Fedora 34 2021-04-28 07:51:11 +10:00
Andrew Murray
12968c3269 Update CHANGES.rst [ci skip] 2021-04-27 21:43:00 +10:00
Andrew Murray
5cae79b8e5 Fixed Python 3.10 at alpha.7 2021-04-27 20:27:00 +10:00
Hugo van Kemenade
56730906f2
Merge pull request #5433 from radarhere/libjpeg-turbo
Updated libjpeg-turbo to 2.1.0
2021-04-25 15:47:54 +03:00
Hugo van Kemenade
dc817ead76
Merge pull request #5430 from radarhere/pdf_1
Switched to saving 1-bit PDFs with DCTDecode
2021-04-25 15:29:34 +03:00
Hugo van Kemenade
4f21cd0257
Merge pull request #5421 from radarhere/tiff
Updated libtiff to 4.3.0
2021-04-25 15:19:48 +03:00
Andrew Murray
67fbb8b815 Update CHANGES.rst [ci skip] 2021-04-25 21:35:21 +10:00
Hugo van Kemenade
6461dd63b3
Merge pull request #5429 from radarhere/ico
Use bpp from ICO header
2021-04-25 12:07:38 +03:00
Hugo van Kemenade
d3a3b6dddb
Merge pull request #5408 from radarhere/indexerror
Corrected JPEG APP14 transform value
2021-04-25 11:36:40 +03:00
Hugo van Kemenade
b21508798a
Merge pull request #5427 from radarhere/macos
Updated macOS tested Pillow versions
2021-04-25 11:33:41 +03:00
Hugo van Kemenade
23efd39b99
Merge pull request #5425 from radarhere/iptc
Changed TIFF tag 33723 length to 1
2021-04-25 11:23:52 +03:00