Commit Graph

13387 Commits

Author SHA1 Message Date
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
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
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
Andrew Murray
e96177451e Only import ImageFont when necessary 2022-05-30 19:36:36 +10:00
Andrew Murray
753da81757
Merge pull request #6340 from hugovk/sphinx-lint
Add Sphinx Lint to pre-commit and fix RST bug
2022-05-30 08:54:51 +10:00
Hugo van Kemenade
d78042dfc0
Merge pull request #6223 from radarhere/precommit
pre-commit autoupdate
2022-05-29 18:48:02 +02:00
Hugo van Kemenade
f90caabdbc Remove sentence fragment 2022-05-29 19:23:39 +03:00
Hugo van Kemenade
880dee7e1d Fix missing inline literal (escaped) space after literal (missing-space-after-literal) 2022-05-29 19:11:21 +03:00
Hugo van Kemenade
a5ceb746b0 Add sphinx-lint to pre-commit 2022-05-29 19:10:35 +03:00
Hugo van Kemenade
8aa1a9d291 Autoupdate pre-commit monthly 2022-05-29 13:57:19 +03:00
mergify[bot]
a50addb8e2
Merge pull request #6339 from radarhere/libtiff
Updated libtiff to 4.4.0
2022-05-28 11:15:39 +00:00
Andrew Murray
40a918d274 Set readcount to TIFF_VARIABLE for a variable number of values 2022-05-28 20:14:05 +10:00
Andrew Murray
0a4a7722b5 Updated libtiff to 4.4.0 2022-05-28 18:37:11 +10:00