Commit Graph

16370 Commits

Author SHA1 Message Date
Andrew Murray
08c69ba7f5 Added demonstration images to docs 2023-09-26 21:16:30 +10:00
Andrew Murray
e27d7a6f84 Changed has_transparency_data() to property 2023-09-26 20:14:22 +10:00
Andrew Murray
1c30809245 Allow for LA or PA in the future 2023-09-26 20:10:52 +10:00
Andrew Murray
faa66eaa6c
Added type hint
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-09-26 20:10:12 +10:00
Hugo van Kemenade
132357ac46 Add check-executables-have-shebangs to pre-commit and remove executable flags 2023-09-25 16:45:38 +03:00
Hugo van Kemenade
1f188f5bb4 Add trailing-whitespace to pre-commit 2023-09-25 16:45:38 +03:00
Hugo van Kemenade
f76b63d016 Add end-of-file-fixer to pre-commit 2023-09-25 16:45:38 +03:00
Hugo van Kemenade
3891e9e228 Add flake8-logging to pre-commit 2023-09-25 16:45:38 +03:00
Hugo van Kemenade
36d0bf044b Fix LOG005 use exception() within an exception handler 2023-09-25 16:45:38 +03:00
Hugo van Kemenade
507b7d519a Fix LOG011 avoid pre-formatting log messages 2023-09-25 16:45:38 +03:00
Hugo van Kemenade
9d104b241e Use black-pre-commit-mirror for faster mypyc-compiled wheels 2023-09-25 16:45:38 +03:00
Hugo van Kemenade
0d1e83098d Add pyupgrade to pre-commit 2023-09-25 16:45:38 +03:00
Andrew Murray
ad12caecda Convert RGBA palette to RGBA image when saving WebP 2023-09-25 20:28:25 +10:00
Andrew Murray
6bbed1add0 Added has_transparency_data() 2023-09-25 20:10:44 +10:00
Andrew Murray
bd87653530 Updated wheel build process for new location 2023-09-24 22:51:42 +10:00
Andrew Murray
905cf06b6b Merge remote-tracking branch 'pillow-wheels/pillow' into pillow-wheels 2023-09-24 22:38:42 +10:00
Andrew Murray
8d0bfc4e03 Move and delete files for merging into main repository 2023-09-24 22:34:13 +10:00
Andrew Murray
b723e9e62e
Merge pull request #7407 from hugovk/ci-appveyor-depends
AppVeyor: don't download huge pillow-depends.zip
2023-09-24 14:36:04 +10:00
nopperl
b21ea55beb
Merge pull request #1 from radarhere/parse-eps-trailer
Last trailer comment has priority
2023-09-23 06:41:59 +00:00
Andrew Murray
d919942f8e Last trailer comment has priority 2023-09-22 18:36:52 +10:00
Andrew Murray
9de4b72c97 Trailer is not in header, ImageData or itself 2023-09-22 18:26:50 +10:00
Andrew Murray
094f23dd5c EOF ends not just the trailer, but also the file 2023-09-22 18:26:41 +10:00
Andrew Murray
8064adad7a Reduced duplicate code 2023-09-22 17:58:11 +10:00
Andrew Murray
4c9c7636be Merge branch 'main' into parse-eps-trailer 2023-09-22 16:16:26 +10:00
Andrew Murray
616ed35e74 Support reading 8-bit YCbCr TIFF images 2023-09-21 20:53:23 +10:00
Hugo van Kemenade
9c754ebab1 Re-remove --ssl-no-revoke 2023-09-21 12:20:17 +03:00
Andrew Murray
352bcaac74 Set blue channel to 128 for BC5S 2023-09-21 16:38:45 +10:00
Andrew Murray
e57b08affd Move strcmp outside of while loops 2023-09-21 16:38:19 +10:00
Andrew Murray
80dbd3b193 Added ImageOps cover method 2023-09-21 11:54:36 +10:00
Andrew Murray
4edfe13bec Merge branch 'main' into ci-appveyor-depends 2023-09-20 22:34:01 +10:00
Andrew Murray
9632195747 Merge branch 'main' into webp 2023-09-20 22:31:16 +10:00
Hugo van Kemenade
7a633e3500
Merge pull request #7403 from radarhere/numpy 2023-09-20 06:21:33 -06:00
Hugo van Kemenade
6e58b34f65
Merge pull request #104 from radarhere/ci-appveyor-depends 2023-09-20 05:47:06 -06:00
Hugo van Kemenade
1ba79d2bee Re-instate for/else to avoid a raise after an error and a subsequent success 2023-09-20 14:07:04 +03:00
Andrew Murray
f4d9c44e31 Restrict "params" to list or None 2023-09-20 19:24:43 +10:00
Andrew Murray
aedf81d3cb Update CHANGES.rst [ci skip] 2023-09-20 18:30:27 +10:00
Andrew Murray
8d81fd98a6
Merge pull request #7401 from radarhere/bc5s
Fixed bug when reading BC5S DDS images
2023-09-20 18:28:46 +10:00
Andrew Murray
bf046dff6e Limit NumPy version on Cygwin 2023-09-20 16:17:47 +10:00
Hugo van Kemenade
f3a245518f
Merge pull request #409 from radarhere/numpy
NumPy now supports Python 3.12
2023-09-18 09:33:51 -06:00
Hugo van Kemenade
15b1d6085c Use curl with --ssl-no-revoke
To fix:

curl: (35) schannel: next InitializeSecurityContext failed: Unknown error (0x80092013) - The revocation function was unable to check revocation because the revocation server was offline.
2023-09-18 18:18:20 +03:00
Hugo van Kemenade
82c3999bc9 Don't download entire pillow-depends.zip (851 MB) 2023-09-18 18:18:20 +03:00
Hugo van Kemenade
cf79e2c3d3 Capitalise constants 2023-09-18 18:18:20 +03:00
Hugo van Kemenade
66bf71bafa Add type hints 2023-09-18 18:18:20 +03:00
Hugo van Kemenade
c50b11b3ca Attempt download from pillow-depends mirror first 2023-09-18 18:18:20 +03:00
Hugo van Kemenade
89340819cf
Merge pull request #7399 from radarhere/mime 2023-09-18 08:57:52 -06:00
Andrew Murray
a518f3c21f Fixed openblas detection on macOS for PyPy 3.10 2023-09-18 22:42:05 +10:00
Andrew Murray
43bae2b101 Fixed openblas detection on macOS 2023-09-18 22:31:50 +10:00
Andrew Murray
26c4798707 Revert "Merge pull request #7311 from k128/main"
This reverts commit 39d866b17d, reversing
changes made to f39f74fb82.
2023-09-18 20:34:05 +10:00
Andrew Murray
7a0023d840 Install libopenblas-dev and pkg-config to fix NumPy install on Linux PyPy 3.10 2023-09-18 15:36:01 +10:00
Andrew Murray
390e4a7360 Install libopenblas-dev to fix installing NumPy on Linux PyPy 3.10 2023-09-17 22:40:42 +10:00