Andrew Murray
035e95551d
Use build.sh
2022-05-08 21:38:28 +10:00
Andrew Murray
c919db11a8
Install cffi
2022-05-08 21:38:21 +10:00
Hugo van Kemenade
134023796e
Merge pull request #6280 from radarhere/macos
...
Updated macOS tested Pillow versions
2022-05-07 17:52:50 +03:00
Andrew Murray
c6cdd4dd52
Adjust formatting
2022-05-07 23:13:41 +10:00
Andrew Murray
dc4906c865
Updated codecov action to v3
2022-05-07 22:50:30 +10:00
Andrew Murray
740695e802
Updated macOS tested Pillow versions
2022-05-07 22:29:18 +10:00
DWesl
c5356010ff
Merge pull request #8 from radarhere/add-cygwin-to-ci
...
Removed steps that are currently unnecessary. Hopefully they stay that way.
2022-05-07 07:46:41 -04:00
DWesl
7c97d84576
CI: Stop testing numpy imports
...
Install seems to be working now.
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-05-07 07:42:40 -04:00
Hugo van Kemenade
b5a8ec56c0
Merge pull request #6264 from radarhere/turbo
...
libjpeg-turbo may result in different pixels
2022-05-07 09:33:58 +03:00
Andrew Murray
a5b20f7a34
Removed setting alternative
2022-05-07 15:29:49 +10:00
Andrew Murray
eee481176d
Removed DLL rebase
2022-05-07 14:52:28 +10:00
DWesl
b670df828d
STY: Fix English in .github/workflows/test-cygwin.yml
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-05-06 22:43:03 -04:00
Andrew Murray
1fd5f54450
Update CHANGES.rst [ci skip]
2022-05-07 08:30:14 +10:00
Hugo van Kemenade
6b05a28482
Merge pull request #6253 from radarhere/png_chunk_length
...
Raise ValueError if PNG chunks are truncated
2022-05-07 00:29:38 +03:00
Hugo van Kemenade
f84684931d
Merge pull request #6265 from radarhere/gif_duration
...
Use durations from each frame by default when saving GIFs
2022-05-06 18:44:01 +03:00
Andrew Murray
c824ab048f
Fixed drawing translucent 1px high polygons
2022-05-06 22:35:26 +10:00
Andrew Murray
3005ea1ef3
Merge branch 'main' into add-cygwin-to-ci
2022-05-06 10:51:24 +10:00
Hugo van Kemenade
3fa89f09eb
Merge pull request #6274 from radarhere/imagetk
...
Skip test_imagetk if tk raises a RuntimeError
2022-05-05 23:41:55 +03:00
DWesl
2067f60409
STY: Commit suggestions from PR review.
2022-05-05 15:21:22 -04:00
Andrew Murray
45f862e7dc
Update CHANGES.rst [ci skip]
2022-05-05 21:32:27 +10:00
Hugo van Kemenade
779fb4975b
Merge pull request #6270 from radarhere/samples_per_pixel
...
Adjust BITSPERSAMPLE to match SAMPLESPERPIXEL
2022-05-05 14:22:19 +03:00
Andrew Murray
4e52d06e6c
Added test
2022-05-05 17:57:08 +10:00
Andrew Murray
3ad3d2e0ef
Update CHANGES.rst [ci skip]
2022-05-05 09:57:39 +10:00
Andrew Murray
26e68ed321
Skip test_imagetk if tk raises a RuntimeError
2022-05-05 08:16:06 +10:00
DWesl
941ff61f17
CI: Drop 32-bit Cygwin from regular testing
...
Cygwin recommends using 64-bit if at all possible, and will discontinue support entirely within the next year or so.
This also reduces CI load, which I suppose is polite to those who provide it at no cost.
2022-05-04 09:23:24 -04:00
Hugo van Kemenade
e42d8b0890
Merge pull request #6261 from radarhere/stderr
...
Hide stderr from --keep-system-libs
2022-05-04 16:22:52 +03:00
Hugo van Kemenade
3aef70ce39
Merge pull request #6269 from radarhere/jpeg2k
2022-05-04 15:52:32 +03:00
Andrew Murray
4dc1a55f65
Adjust BITSPERSAMPLE to match SAMPLESPERPIXEL
2022-05-04 22:11:10 +10:00
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