Commit Graph

14158 Commits

Author SHA1 Message Date
Andrew Murray
4b7b07de70 Fixed JPEG2000 I;16 images on big endian 2021-12-28 17:06:05 +11:00
Andrew Murray
16167e82e6 Update CHANGES.rst [ci skip] 2021-12-28 12:00:32 +11:00
Andrew Murray
43b800d933
Merge pull request #5912 from radarhere/fix-pdf-redos-carriage-return
Exclude carriage return in PDF regex to help prevent ReDoS
2021-12-28 11:53:43 +11:00
Hugo van Kemenade
dd8049363e Use more specific regex chars to prevent ReDoS - exclude carriage return 2021-12-28 10:22:39 +11:00
Andrew Murray
e0d5417bcd Raise an error if sequence is not flattened 2021-12-28 09:38:41 +11:00
Andrew Murray
e9294d890f Accept float values for putdata() in Python 3.10 2021-12-28 09:38:41 +11:00
Andrew Murray
020308a7be Clarified that the sequence object for putdata() should be flattened 2021-12-28 09:38:41 +11:00
Hugo van Kemenade
282d8250c6
Merge pull request #5908 from radarhere/none 2021-12-27 15:44:40 +02:00
Andrew Murray
9bc02adcb4 Update CHANGES.rst [ci skip] 2021-12-27 17:10:14 +11:00
Andrew Murray
7adab8f21f
Merge pull request #5909 from radarhere/transform
Fixed freeing pointer in ImageDraw.Outline.transform
2021-12-27 16:25:24 +11:00
Andrew Murray
4222605442 Fixed freeing pointer 2021-12-27 13:39:37 +11:00
Andrew Murray
0af91de452 Image.NONE is only used for resampling and dithers 2021-12-27 12:27:06 +11:00
DWesl
fa536b4d34 Merge branch 'main' of upstream into add-cygwin-to-ci 2021-12-26 14:28:29 -05:00
Hugo van Kemenade
11c536b6d4
Merge pull request #5907 from radarhere/assert_image
Do not compare properties to themselves
2021-12-26 09:38:25 +02:00
Andrew Murray
73ccda9cd1 Do not compare properties to themselves 2021-12-26 13:27:41 +11:00
Alex Clark
9d0703a8a8
Merge pull request #5763 from python-pillow/new-badge 2021-12-25 07:21:33 -05:00
Hugo van Kemenade
1e847256db
Merge pull request #5905 from radarhere/xdgviewer
Added release notes for #5897
2021-12-24 17:52:05 +02:00
Hugo van Kemenade
bf1583fe03
Merge pull request #5906 from radarhere/pip_install
Replaced further direct invocations of setup.py
2021-12-24 13:14:53 +02:00
Andrew Murray
c202fc7f93 Replaced further direct invocations of setup.py 2021-12-24 11:12:51 +11:00
Andrew Murray
b07404e140 Added release notes for #5897 2021-12-24 09:05:54 +11:00
Andrew Murray
8568fab63e Update CHANGES.rst [ci skip] 2021-12-24 08:15:33 +11:00
Hugo van Kemenade
1510efb647
Merge pull request #5897 from m-shinder/main
Added ImageShow support for xdg-open
2021-12-23 08:32:16 +02:00
Andrew Murray
d0faeb4e5e
Added XDGViewer class 2021-12-23 11:15:29 +11:00
Hugo van Kemenade
960da06557
Merge pull request #5902 from radarhere/typo
Fixed typo
2021-12-22 12:13:23 +02:00
Andrew Murray
34ad580f42 Fixed typo 2021-12-22 16:42:39 +11:00
Alex Clark
085b05d87b Lint fix 2021-12-21 11:02:14 -05:00
Andrew Murray
ff723e45ab Ensure that pixel data offset does not ignore palette 2021-12-21 12:43:50 +11:00
Alex Clark
7a426109a1 Add lock file 2021-12-20 13:19:45 -05:00
mihail
5cca90a37c
Add: XDGViewer which uses xdg-open
Synopsis

xdg-open { file | URL }

xdg-open { --help | --manual | --version }

Use 'man xdg-open' or 'xdg-open --manual' for additional info.
2021-12-20 12:09:07 +03:00
mergify[bot]
591e79e01e
Merge pull request #5862 from kolibril13/pathlib
Added PIL + pathlib Tutorial
2021-12-19 23:11:07 +00:00
Andrew Murray
a12c18608e
Corrected variable name 2021-12-20 09:39:09 +11:00
Jan-Hendrik Müller
36caa53fed
Apply suggestions from code review
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2021-12-19 22:48:23 +01:00
Hugo van Kemenade
0badf97592
Merge pull request #5896 from radarhere/pip_install 2021-12-19 15:39:47 +02:00
Jan-Hendrik Müller
6b871fa18a
Merge pull request #1 from radarhere/pathlib
Improved batch processing example in tutorial
2021-12-19 13:28:52 +01:00
Jan-Hendrik Müller
cd613e6850
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2021-12-19 13:26:30 +01:00
Andrew Murray
e94a54ce25 Replaced further direct invocations of setup.py 2021-12-19 12:13:37 +11:00
DWesl
77c8a07f1c DOC: Rearrange the Cygwin entries on the support matrix.
From a suggestion on the PR, make it clearer that Cygwin runs on
Windows.  Also record the Cygwin versions in the check against Python
versions.
2021-12-18 10:07:36 -05:00
DWesl
b9fee08c59 TST: Parametrize numpy roundtrip to find failing case
Segfaults are annoying to debug.
2021-12-18 10:00:14 -05:00
DWesl
1c25d95d5a CI: Get cygwin tests running
They segfault in one of the NumPy tests, but they run.
2021-12-18 09:55:24 -05:00
Andrew Murray
6c8ac0e700 Added "os" example 2021-12-18 21:59:09 +11:00
Andrew Murray
946571d4a3 Moved batch processing example under "More on reading images" 2021-12-18 21:23:07 +11:00
Andrew Murray
d455abffee Moved all pathlib logic out of function 2021-12-18 21:16:50 +11:00
Andrew Murray
a1677ead44 Switched from deprecated "setup.py install" to "pip install ." 2021-12-18 19:43:23 +11:00
Andrew Murray
e7e05e2701 GHA: Restored macos-latest for PyPy builds 2021-12-18 19:39:05 +11:00
pre-commit-ci[bot]
56d630294c [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-12-15 20:39:43 +00:00
Alexey Shamrin
b3cb55f823
keep IPython/Jupyter text/plain output stable 2021-12-15 22:35:32 +02:00
Hugo van Kemenade
2a38670169
Merge pull request #5888 from radarhere/gha_pypy 2021-12-15 11:14:04 +02:00
Andrew Murray
603fb34701 GHA: Still use macos-latest for non-PyPy builds 2021-12-15 08:10:12 +11:00
Andrew Murray
6899f06cf9 Update CHANGES.rst [ci skip] 2021-12-15 07:26:19 +11:00
mergify[bot]
f4c010b188
Merge pull request #5856 from cmbruns/cmbruns/grayscale-16-bit-qimage
Support 16-bit grayscale ImageQt conversion
2021-12-14 20:24:27 +00:00