Ray Gardner
128ed189e5
Improve test in _get_optimize()
...
Palette can be optimized if number of colors can be reduced by half or more.
2022-06-18 18:07:58 -06:00
William Jacobs
9f9e26522e
Fixed bug with rounding pixels to palette
...
This fixes a bug with rounding pixels to the nearest palette color. Specifically, there is a typo with computing the minimum distance from a palette color to a given cache box. This is causing palette colors to be incorrectly excluded from consideration.
2022-06-18 04:09:41 -04:00
nulano
c2047b8293
fix null check for fribidi_version_info in fribidi shim
2022-06-17 17:13:11 +01: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
463d18191a
Document use of gnome-screenshot
2022-06-13 10:16:30 +10:00
Andrew Murray
b1ba0909ed
Prefer gnome-screenshot if xdisplay is None
...
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2022-06-13 09:56:52 +10:00
Andrew Murray
5051a29a4e
Merge branch 'main' into plainPPM
2022-06-12 16:11:17 +10:00
Andrew Murray
a48d95061d
Use gnome-screenshot on Linux if available
2022-06-12 16:00:31 +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
a3062e30d6
Merge pull request #301 from radarhere/manylinux
...
Added manylinux_2_28
2022-05-31 08:38:18 +03:00