Commit Graph

10853 Commits

Author SHA1 Message Date
Hugo van Kemenade
15c339470d
Merge pull request #4523 from xtsm/ellipse
Implemented another ellipse drawing algorithm
2020-10-11 18:04:34 +03:00
Andrew Murray
166cc00843 Updated freetype to 2.10.3 2020-10-11 21:35:21 +11:00
gofr
938e251088 Add new JPEG test image 2020-10-10 20:08:39 +02:00
gofr
d54dc4062f fixup! Add tests for loading/saving of 16-bit quantization tables 2020-10-10 20:01:28 +02:00
gofr
2f0544b542 Add tests for loading/saving of 16-bit quantization tables 2020-10-10 18:53:49 +02:00
gofr
b212a1eb8f Keep baseline compatibility when specifying quality
16-bit quantization tables can appear at quality values below
about 25. These may cause compatibility problems. Maintain
baseline compatibility and avoid confusing users with warning
messages.
2020-10-10 16:23:58 +02:00
gofr
0a235314b8 Remove outdated comment about 8-bit DQT support 2020-10-10 15:26:44 +02:00
gofr
6db0843af4 Add support for 16-bit precision JPEG quantization values
Don't force JPEG quantization to be baseline-compatible

Quantization values will not be limited to values 1..255 and may
be 16 bits if needed. This may cause compatibility issues.
2020-10-10 14:35:09 +02:00
Hugo van Kemenade
804c76ff12
Merge pull request #4961 from radarhere/ci
Updated CI targets
2020-10-10 13:03:18 +03:00
Andrew Murray
dab51b6508 Updated CI targets [ci skip] 2020-10-10 19:39:57 +11:00
nulano
9b5931f212
typo
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-10-09 16:43:10 +02:00
nulano
c80f123923 document ImageDraw.textlength and ImageDraw.textbbox 2020-10-09 01:43:23 +01:00
nulano
1551e120ae add textlength and textbbox to ImageDraw 2020-10-09 01:02:51 +01:00
nulano
395aa946a9 add getbbox and getlength, with tests
Squashed commits:

[ec9ec31b] add tests for invalid anchor
(cherry picked from commit 9e50a6a47f79876ee56942152047f03fff03c49b)

[386a9170] fix lint and docs
(cherry picked from commit 2d0d5282fcfc3ee332a41e60b865ee766445cc3d)

[29f5d4c9] restore and document previous getsize behaviour
see discussion in issue 4789
(cherry picked from commit 9fbc94571ce0ed42fdd11e99f343a1613c9dc6d3)

[0ffd51a0] add getbbox and getlength, with tests
(cherry picked from commit c5f63737476a998c81e589e5819d21ca69bb7b46)
2020-10-09 00:56:58 +01:00
Hugo van Kemenade
83f499a588
Merge pull request #4957 from radarhere/unused 2020-10-08 17:46:33 +03:00
Andrew Murray
ddbd529573 Corrected comment 2020-10-09 01:16:23 +11:00
Andrew Murray
88f9ef2f6b Removed unused function 2020-10-09 01:16:23 +11:00
Hugo van Kemenade
027ba3ec3b
Merge pull request #4958 from radarhere/setuptools
Update setuptools for more Python 3.8 jobs
2020-10-08 17:04:30 +03:00
Andrew Murray
ccd8f62136 Python 3.8 also requires updated setuptools 2020-10-09 00:41:08 +11:00
Hugo van Kemenade
fc83f11cf6 Add dark mode 2020-10-08 00:29:46 +03:00
nulano
786eaf11e2 downgrade NotoColorEmoji to minimize size 2020-10-07 13:31:05 +01:00
nulano
568a1260fc fix color on big-endian 2020-10-07 13:03:05 +01:00
nulano
24f3d85a3e add test for {1bpp, 2bpp, 4bpp, 8bpp} bitmap fonts 2020-10-07 11:57:15 +01:00
Andrew Murray
41d935a5a2
Merge pull request #4951 from hugovk/gha-3.9
3.9: Test GitHub Actions
2020-10-07 19:04:05 +11:00
nulano
28d313305a fix tests 2020-10-07 05:29:18 +01:00
nulano
bf529303de use FT_Bitmap_Convert instead of reimplementing the wheel 2020-10-07 05:29:18 +01:00
nulano
55db572467 add tests for opaque COLR and CBDT fonts 2020-10-07 05:29:18 +01:00
nulano
9151da162c add support for CBDT and embedded bitmaps in truetype fonts 2020-10-07 05:29:17 +01:00
nulano
82a28d12e2 add support for fonts with COLR data 2020-10-07 05:29:10 +01:00
Andrew Murray
877831be13
Merge pull request #4952 from hugovk/3.9-stuff
3.9: Add Trove classifier, update setup.py version check, add to tox.ini
2020-10-07 08:40:53 +11:00
Hugo van Kemenade
bb1c6afa87
Merge pull request #4950 from nulano/nulano-patch-1 2020-10-06 19:34:51 +03:00
Hugo van Kemenade
6f7231eb5a Add Trove classifier, update setup.py version check, add to tox.ini 2020-10-06 19:16:49 +03:00
Hugo van Kemenade
1bb382aae0 macOS 3.8 also needs newer setuptools 2020-10-06 18:39:25 +03:00
Hugo van Kemenade
be06518383 GHA: Bump 3.9-dev to 3.9 2020-10-06 18:39:25 +03:00
nulano
f4f58a1214
typo 2020-10-06 17:07:55 +02:00
nulano
48b25f06ba
replace deprecated add-path and set-env 2020-10-06 17:01:04 +02:00
Hugo van Kemenade
c841501c34
Merge pull request #4752 from radarhere/warnings
Fixed comparison warnings
2020-10-05 23:49:54 +03:00
Hugo van Kemenade
a7f384a813
Merge pull request #4292 from radarhere/private_png_chunks
Added reading and writing of private PNG chunks
2020-10-05 23:49:09 +03:00
Hugo van Kemenade
b29cab08d3
Merge pull request #4930 from nulano/anchor-part2 2020-10-05 20:19:33 +03:00
Hugo van Kemenade
68c6740343
Merge pull request #4942 from radarhere/del
Fixed bug in Exif __delitem__
2020-10-05 10:15:01 +03:00
Andrew Murray
7a1f0f6a8f Fixed bug in Exif __delitem__ 2020-10-05 09:45:05 +11:00
Andrew Murray
e80f06147b
Merge pull request #4946 from nulano/mingw64-tk
Fix crash in ImageTk.PhotoImage on mingw64
2020-10-05 09:43:52 +11:00
nulano
3273a1af4c fix tk on latest msys2-mingw64 2020-10-04 22:55:53 +01:00
nulano
8cdac68706 Revert "Skip due to segmentation fault"
This reverts commit 7711a4c94d.
2020-10-04 22:48:23 +01:00
nulano
e696bb06d8 update version numbers 2020-10-04 20:28:24 +01:00
nulano
6b8d8ac313 simplify anchor example image 2020-10-04 20:14:24 +01:00
nulano
d22608b7bd fix hyphens and add missing articles
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-10-04 20:12:47 +01:00
Andrew Murray
e73218c2d5
Merge pull request #4936 from radarhere/ghostscript
Updated Ghostscript to 9.53.3
2020-10-04 21:03:03 +11:00
Andrew Murray
6b11976723 Updated Ghostscript to 9.53.3 2020-10-04 20:27:39 +11:00
Andrew Murray
6620916884
Merge pull request #4944 from hugovk/mingw-skips
Skip test_photoimage on MinGW due to segmentation fault
2020-10-04 20:26:50 +11:00