Andrew Murray
886fcbe3d6
Do not open images with zero or negative height
2022-05-04 21:25:40 +10:00
Ben Rudiak-Gould
48f763a378
Manually merge radarhere's additional tests
2022-05-03 13:53:50 -07:00
Ben Rudiak-Gould
88f46f3c99
Add a comment
2022-05-03 13:42:04 -07:00
Andrew Murray
46802d5def
Removed unused import and restored existing checks ( #1 )
...
* Removed unused import
* Restored existing checks
* Restored coerce_e, _E and data property
* Deprecated coerce_e
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2022-05-03 13:05:39 -07:00
Ben Rudiak-Gould
4e12ccc63e
Support more affine expression forms in Image.point
...
In modes I and F, Image.point only supported affine expressions of the
forms (lambda x:) x * a, x + a, and x * a + b. Expressions like 1 - x
had to be written x * -1 + 1.
This rewrite, though still limited to affine transformations, supports
far more expression forms, including 1 - x, (2 * x + 1) / 3, etc.
2022-05-03 13:05:39 -07:00
Andrew Murray
7e084c7ede
Use durations from each frame by default when saving
2022-05-03 20:07:47 +10:00
Andrew Murray
a90d9666fb
libjpeg-turbo may result in different pixels
2022-05-03 19:20:58 +10:00
DWesl
0b134250fa
CI: Use alternatives to select python version ( #4 )
...
* CI: Use alternatives to select python version
* CI: Specify full path to alternatives
/usr/sbin isn't in PATH
* DBG: Print uname to try to avoid bad pip install.
pip>=22 on 32-bit Cygwin seems to cause problems installing coverage. I have no idea why this is, so I just skip upgrading pip there.
* FIX: Fix syntax of conditional for 32-bit Cygwin
I have no idea if it needs to be able to accept i386, but it will if it comes up.
* FIX: Revert earlier debug change.
2022-05-02 20:38:12 -04:00
Andrew Murray
0c1720d358
Hide stderr from --keep-system-libs
2022-05-03 09:19:09 +10:00
DWesl
ce7489884f
CI: Update Cygwin pip, but not on 32-bit
...
* CI: Update Cygwin pip, but not on 32-bit
32-bit Cygwin pip>=22 fails to install coverage.
* CI: Let .ci/install.sh handle updating pip
* CI Combine pip update conditions
* CI: Don't try to upgrade pip on 32-bit Cygwin
2022-05-02 17:54:49 -04:00
Andrew Murray
9d988dab6a
Update CHANGES.rst [ci skip]
2022-05-02 21:11:01 +10:00
Andrew Murray
0a30e431d2
Merge pull request #6138 from jameshilliard/fix-pkg-config
...
Search pkgconf system libs/cflags
2022-05-02 21:09:45 +10:00
Andrew Murray
dac49dc5ef
Merge pull request #6198 from MaxFork/improve-changeslog
...
Convert pre-fork CHANGES to RST
2022-05-02 19:24:01 +10:00
Andrew Murray
44bb3e62df
Update CHANGES.rst [ci skip]
2022-05-02 08:23:19 +10:00
Hugo van Kemenade
87c2373265
Merge pull request #6242 from radarhere/ppm_maxval
2022-05-01 21:21:52 +03:00
Andrew Murray
44494a1171
Set furthestV to first v in case compute_distances does not assign it
2022-05-01 23:32:47 +10:00
Andrew Murray
b299d7cfc2
Simplified code by using unsigned int instead of union
2022-05-01 23:32:47 +10:00
mergify[bot]
31800a0213
Merge pull request #6255 from radarhere/freetype
...
Updated freetype to 2.12.1
2022-05-01 12:37:26 +00:00
Andrew Murray
47756b9bcd
Updated freetype to 2.12.1
2022-05-01 21:57:59 +10:00
Andrew Murray
51bdc99b96
Raise ValueError if PNG chunks are truncated
2022-05-01 13:45:58 +10:00
DWesl
143e57b6cd
CI: Specify python minor version everywhere on Cygwin
...
Finish the last few of these. It's usually unnecessary, but I ran into trouble once with NumPy, and will likely run into more problems if I start submitting packages.
A different option would be to use alternatives to point python3 at the right python.
2022-04-29 20:40:57 -04:00
Andrew Murray
81b473f9d2
Raise ValueError for invalid maxval
2022-04-30 10:37:50 +10:00
DWesl
3453b0ea5d
Merge pull request #3 from radarhere/add-cygwin-to-ci
...
Do not install NumPy on Python 3.11
So that's how I was supposed to resolve that merge conflict. Thank you.
2022-04-29 20:36:35 -04:00
Andrew Murray
2d25e668e7
Do not install NumPy on Python 3.11
2022-04-30 10:19:48 +10:00
DWesl
08e0d0b817
CI: Use bash for rebase step
...
Hopefully this makes sure rebase finds all of pillow's C extension modules so rebase failures are less likely.
2022-04-29 13:15:04 -04:00
DWesl
88c406eac9
CI: Stop using login shell for build step
2022-04-29 12:57:52 -04:00
DWesl
e0f4c21d01
CI: Remind bash to ignore CR in workflow
2022-04-29 12:36:05 -04:00
DWesl
41976ae125
FIX: Fix syntax for shell call
2022-04-29 11:34:13 -04:00
DWesl
ed0c37d528
CI: Don't use shell for build information
2022-04-29 11:27:01 -04:00
DWesl
91e6457360
CI: Stop using login shell for build info
...
I should probably avoid login shells in any step that uses a relative path.
2022-04-29 10:53:19 -04:00
DWesl
afa3cea96a
Merge branch 'main' into add-cygwin-to-ci
2022-04-29 10:43:30 -04:00
DWesl
fdbab82f9e
CI: Use dash to check system-info.py
...
This may be a problem with using a login shell (starts in ~) rather than with using bash over dash. We'll see in a bit.
2022-04-29 09:54:23 -04:00
Hugo van Kemenade
7d5162cb37
Merge pull request #6250 from radarhere/jpeg2000
2022-04-29 13:54:00 +03:00
Andrew Murray
9c9aa9964e
Skip tests unless JPEG 2000 is available
2022-04-29 19:17:03 +10:00
Andrew Murray
489d6f32f1
Merge pull request #6249 from hugovk/3.11-dev
...
Test Python 3.11-dev
2022-04-29 18:22:30 +10:00
Hugo van Kemenade
f4d2082a27
Fix for RST rendering
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-04-29 10:33:49 +03:00
Hugo van Kemenade
b4dab3aca3
Test Python 3.11-dev
2022-04-28 23:15:38 +03:00
Max Base
3afd0959c0
Merge pull request #2 from radarhere/improve-changeslog
...
Updated RST formatting
2022-04-28 15:27:56 +05:30
Andrew Murray
2613429e24
Merge pull request #6247 from radarhere/link
...
Updated URL
2022-04-28 09:46:36 +10:00
Hugo van Kemenade
d42efd7ec0
Update URL ( #16 )
2022-04-28 08:26:57 +10:00
Max Base
87e4ffcc59
Update CHANGES.rst
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-04-27 18:19:04 +04:30
Andrew Murray
a50c3957df
Updated URL
2022-04-27 22:28:10 +10:00
Andrew Murray
ea24341c5f
Use bold syntax
2022-04-27 22:09:42 +10:00
Andrew Murray
5a8b8b95f6
Use literal code blocks
2022-04-27 22:09:36 +10:00
Andrew Murray
9830abd19e
Formatted script improvements as table
2022-04-27 22:09:29 +10:00
Andrew Murray
09b27753e5
Clarify that 0.2b1 was released for Windows only, not 0.2b2
2022-04-27 22:09:21 +10:00
Andrew Murray
0edfea0bbc
Changed indents and kept line length
2022-04-27 22:08:52 +10:00
Hugo van Kemenade
73646ad9d2
Merge pull request #6243 from radarhere/webp
...
Test invalid WebP background colors
2022-04-26 21:14:27 +03:00
Hugo van Kemenade
7c9fa63093
Merge pull request #6246 from radarhere/all_frames
...
Added all_frames() to documentation
2022-04-26 21:12:29 +03:00
Andrew Murray
6ec9dfb9c0
If an exception is raised, try again without system paths
2022-04-26 11:14:31 -06:00