nulano
f34a6460ef
update test_font_pcf to use getbbox
2022-06-19 22:04:56 +01:00
nulano
c854bf8d1c
add getbbox and getlength to basic ImageFont and update related tests
2022-06-19 22:04:56 +01:00
nulano
406fe59242
deprecate font.getsize and related functions
2022-06-19 22:03:34 +01:00
mergify[bot]
8de74b9fab
Merge pull request #6370 from LostBenjamin/patch-1
...
Fix wrong operator bug in PyCMSError exception message
2022-06-19 13:21:43 +00:00
Hugo van Kemenade
1229110fb2
Update comment
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-06-19 15:22:02 +03:00
Hugo van Kemenade
607f508080
Update comment
...
We get "an integer is required (got type NoneType)" with Python 3.7-3.9 on Windows.
We get "'NoneType' object cannot be interpreted as an integer" with Python 3.10 on Windows and all versions on macOS and Ubuntu.
2022-06-19 12:29:39 +03:00
Andrew Murray
765d66c069
Update CHANGES.rst [ci skip]
2022-06-16 19:24:36 +10:00
Hugo van Kemenade
b3bc4a7bb4
Merge pull request #6368 from radarhere/fpx
2022-06-16 12:03:54 +03:00
Andrew Murray
4d6e5a0d09
Limit tile size to avoid extending outside image
2022-06-16 08:36:43 +10:00
Hugo van Kemenade
6ae6a241f2
More generic match text
2022-06-15 21:57:20 +03:00
Hugo van Kemenade
959e576dd2
Use f-string
2022-06-15 21:43:18 +03:00
Hugo van Kemenade
983a6139d5
Check other exception messages
2022-06-15 21:42:04 +03:00
Hugo van Kemenade
6c889d1088
Test ImageCms.profileToProfile with invalid flags
2022-06-15 21:34:16 +03:00
Jingxuan He
b47bcc246f
Fix a potential wrong operator bug
2022-06-15 17:39:37 +02:00
Andrew Murray
e80ddfd2b6
Update CHANGES.rst [ci skip]
2022-06-14 22:26:50 +10:00
Andrew Murray
aad3af437e
Merge pull request #5242 from Piolie/plainPPM
...
Add support for decoding plain PPM formats
2022-06-14 22:24:25 +10:00
Andrew Murray
1bac1cf6f5
Moved all comments logic into _ignore_comments()
2022-06-14 21:39:55 +10:00
Andrew Murray
6eb6232f04
Test comment that ends in the same block
2022-06-14 21:39:55 +10:00
Andrew Murray
216cd374dd
Parametrized tests
2022-06-14 21:39:26 +10:00
Andrew Murray
c4d51fb268
Added support for PPM arbitrary maxval in plain formats
2022-06-13 19:55:25 +10:00
Andrew Murray
5051a29a4e
Merge branch 'main' into plainPPM
2022-06-12 16:11:17 +10:00
Andrew Murray
c083eadccb
Update CHANGES.rst [ci skip]
2022-06-12 12:14:21 +10:00
Hugo van Kemenade
8bd7e81b5d
Merge pull request #6352 from radarhere/apply_transparency
...
Added apply_transparency()
2022-06-11 17:58:10 +03:00
Andrew Murray
70a060e765
Document apply_transparency()
2022-06-11 22:31:07 +10:00
Andrew Murray
8e37d4c849
Update CHANGES.rst [ci skip]
2022-06-11 09:25:27 +10:00
Hugo van Kemenade
f7ec22f518
Merge pull request #6197 from radarhere/endian
...
Fixed behaviour change from endian fix
2022-06-10 19:02:54 +03:00
Hugo van Kemenade
31b98bb3ba
Merge pull request #6222 from radarhere/python3
...
Use python3
2022-06-10 19:02:13 +03:00
Hugo van Kemenade
1c810bea52
Merge pull request #6301 from radarhere/pytest
...
Added pytest-timeout to test dependencies
2022-06-10 18:45:49 +03:00
Hugo van Kemenade
3a61c9e95e
Merge pull request #6350 from radarhere/remap_rgba_palette
2022-06-10 18:43:09 +03:00
Hugo van Kemenade
355820742b
Merge pull request #6354 from radarhere/libtiff
...
Revert "Skip test_realloc_overflow unless libtiff 4.0.4 or higher"
2022-06-08 13:48:04 +03:00
Andrew Murray
1c0bc81a65
Revert "Skip test_realloc_overflow unless libtiff 4.0.4 or higher"
2022-06-08 17:51:44 +10:00
Andrew Murray
7972671368
Merge pull request #6353 from python-pillow/pre-commit-ci-update-config
...
[pre-commit.ci] pre-commit autoupdate
2022-06-07 08:47:46 +10:00
pre-commit-ci[bot]
2394ff564c
[pre-commit.ci] pre-commit autoupdate
...
updates:
- [github.com/Lucas-C/pre-commit-hooks: v1.1.13 → v1.2.0](https://github.com/Lucas-C/pre-commit-hooks/compare/v1.1.13...v1.2.0 )
2022-06-06 17:31:04 +00:00
Andrew Murray
11be163143
Added apply_transparency()
2022-06-06 22:47:58 +10:00
Hugo van Kemenade
418820a1e8
Merge pull request #6341 from radarhere/imagedraw
...
Only import ImageFont in ImageDraw when necessary
2022-06-05 22:25:10 +03:00
Andrew Murray
4c8aff9798
Allow remapping P images with RGBA palettes
2022-06-06 00:12:48 +10:00
mergify[bot]
b37f2d1063
Merge pull request #6347 from hugovk/fix-sphinx-warning
...
Fix Sphinx 5 warning by setting docs language
2022-06-04 07:42:46 +00:00
Andrew Murray
6a5692483c
Update CHANGES.rst [ci skip]
2022-06-04 16:42:26 +10:00
Hugo van Kemenade
3b2f076b6f
Fix WARNING: Invalid configuration value found: 'language = None'. Update your configuration to a valid langauge code. Falling back to 'en' (English).
2022-06-04 09:38:06 +03:00
Hugo van Kemenade
38931c1e47
Merge pull request #6278 from radarhere/polygon
...
Fixed drawing translucent 1px high polygons
2022-06-04 09:34:37 +03:00
Hugo van Kemenade
b43cfce667
Merge pull request #6346 from radarhere/releasenotes
...
Include #6178 in release notes
2022-06-03 14:08:39 +03:00
Andrew Murray
b9df9662d6
Include #6178 in release notes
2022-06-03 19:01:36 +10:00
Hugo van Kemenade
05d979d37d
Merge pull request #6345 from raygard/winbuild_use_sourceforge_auto_mirror
...
Use SourceForge auto mirror capability
2022-06-02 21:26:11 +03:00
pre-commit-ci[bot]
86e49f42eb
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2022-06-01 22:29:29 +00:00
Ray Gardner
80b3ee79bd
Update build_prepare.py
...
Use SourceForge auto mirror capability.
2022-06-01 16:25:27 -06:00
Andrew Murray
561d7ca9e0
Update CHANGES.rst [ci skip]
2022-06-02 08:02:42 +10:00
Hugo van Kemenade
55d3c07e1d
Merge pull request #6232 from radarhere/colormap
2022-06-01 23:12:13 +03:00
Hugo van Kemenade
37c642338b
Merge pull request #6337 from RedShy/p2pa_images_conversion
...
Fix "P"->"PA" image conversion
2022-06-01 22:17:55 +03:00
Hugo van Kemenade
b261e17907
Merge pull request #6335 from radarhere/exif
2022-06-01 16:36:03 +03:00
Hugo van Kemenade
8bffead473
Merge pull request #6316 from radarhere/macos
...
Updated macOS tested Pillow versions
2022-05-30 13:59:34 +03:00