nulano
26cfe04fea
fix PY_SSIZE_T_CLEAN in display.c
2020-10-14 21:12:00 +01:00
Hugo van Kemenade
7a20ef7818
8.1.0.dev0 version bump
2020-10-14 21:23:45 +03:00
Hugo van Kemenade
235a7d6d7d
8.0.0 version bump
2020-10-14 19:02:53 +03:00
Hugo van Kemenade
1cb3e2f742
Merge pull request #4918 from gofr/4825-jpeg-16-bit-qt
2020-10-14 17:58:12 +03:00
Hugo van Kemenade
04f1b38fd1
Merge pull request #4979 from radarhere/ifd
...
Added reading of IFD tag type
2020-10-14 17:43:41 +03:00
Hugo van Kemenade
14643d5746
Merge pull request #4806 from nqbit/msan_bug
...
Initialize offset memory for PyImagingPhotoPut
2020-10-14 17:38:17 +03:00
Hugo van Kemenade
e58baa0c09
Merge pull request #4756 from nulano/warn-tiff
...
Fix TiffDecode comparison warnings
2020-10-14 17:33:05 +03:00
Hugo van Kemenade
2c0aa5d0b8
Merge pull request #4923 from ax3l/fix-imagingHinclude
2020-10-14 16:33:42 +03:00
Andrew Murray
1a3367400c
Added reading of IFD tag type
2020-10-14 23:37:54 +11:00
Hugo van Kemenade
f9852c0381
Merge branch 'master' into fix-imagingHinclude
2020-10-14 14:50:36 +03:00
Axel Huebl
115add2fa0
do not add extra include directories ( #3 )
...
Co-authored-by: nulano <nulano@nulano.eu>
2020-10-14 01:59:34 -07:00
nulano
e65dd04a63
avoid using pkg_resources in PIL.features.pilinfo
2020-10-13 17:52:26 +01:00
Hugo van Kemenade
9a93f6ee45
Merge pull request #4959 from nulano/anchor-part3
2020-10-12 19:27:08 +03:00
Hugo van Kemenade
c7b0fe1bca
Merge pull request #4963 from nulano/implicit-function
2020-10-12 19:23:40 +03:00
nulano
b49ebad5f5
Merge remote-tracking branch 'upstream/master' into anchor-part3
2020-10-12 16:14:00 +01:00
nulano
d7a08cbd15
add color support to new text measuring functions
2020-10-12 16:05:19 +01:00
Hugo van Kemenade
c1a9f889f3
Merge pull request #4964 from nulano/pypy
2020-10-12 17:59:55 +03:00
nulano
90e8255ba4
Merge remote-tracking branch 'upstream/master' into anchor-part3
...
# Conflicts:
# Tests/test_imagefontctl.py
2020-10-12 15:50:45 +01:00
Hugo van Kemenade
309cb9e5c4
Merge pull request #4927 from radarhere/tuple
2020-10-12 14:40:22 +03:00
Hugo van Kemenade
43c3f4de80
Merge pull request #4955 from nulano/ft-color3
2020-10-12 13:52:01 +03:00
Andrew Murray
518b783c64
Removed OSError in favour of DecompressionBombError
2020-10-12 19:32:48 +11:00
nulano
40c9a5a2a0
compatibility for LCMS<2.7, vix LCMS version string
2020-10-12 02:58:24 +01:00
nulano
c06bb8044d
remove PyPy3-7.1.x compatibility code
2020-10-12 02:08:50 +01:00
nulano
39ae5d62f0
compatibility code for ancient FreeType
2020-10-12 01:45:52 +01:00
nulano
067a254366
Apply suggestions from code review
...
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-10-11 21:55:32 +02:00
Hugo van Kemenade
15c339470d
Merge pull request #4523 from xtsm/ellipse
...
Implemented another ellipse drawing algorithm
2020-10-11 18:04:34 +03: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
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
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
nulano
568a1260fc
fix color on big-endian
2020-10-07 13:03:05 +01:00
nulano
bf529303de
use FT_Bitmap_Convert instead of reimplementing the wheel
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
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
Andrew Murray
7a1f0f6a8f
Fixed bug in Exif __delitem__
2020-10-05 09:45:05 +11:00
nulano
3273a1af4c
fix tk on latest msys2-mingw64
2020-10-04 22:55:53 +01:00
Andrew Murray
ac1e86b9d4
Prefix header include
2020-09-29 19:54:57 +10:00
nulano
a9b8dcba7d
write anchor docs
...
(cherry picked from commit dcaee36941e6cb5e6f93186b6f819fb74887e0d3)
2020-09-22 14:58:17 +02:00
Andrew Murray
7e4db0a80e
Prefix other header includes
2020-09-22 13:33:05 +10:00
Andrew Murray
e01081bf8b
Improved error message
...
Co-authored-by: nulano <nulano@nulano.eu>
2020-09-22 08:36:29 +10:00
Andrew Murray
27c0747518
Allow tuples with one item to give single color value in getink
2020-09-20 14:23:05 +10:00
nulano
e6d4c2ce8f
implement text anchor for truetype fonts
...
(cherry picked from commit bac9025918ccf944bac77addc130f33cf9d74701)
2020-09-19 15:17:45 +02:00