Commit Graph

13520 Commits

Author SHA1 Message Date
Hugo van Kemenade
0805f2ae14
Merge pull request #6295 from radarhere/openjpeg 2022-05-14 07:33:53 +03:00
Andrew Murray
815839631e Updated openjpeg to 2.5.0 2022-05-14 10:11:42 +10:00
Ray Gardner
22d9095e5c Correct placement of GIF comment
Place GIF comment after Global Color table. Should go after "NETSCAPE" looping extension after pull #6211.
2022-05-13 17:09:37 -06:00
Ray Gardner
44c6467400 Multiple GIF comments in a frame are separated
If more than one comment is in a GIF frame, separate them with \r\n in the info dict.
2022-05-13 16:36:20 -06:00
Ray Gardner
b3d29e946a Always use GIF89a for long comments
Fix bug that allows GIFs with long comments to be written as GIF87a.
2022-05-13 11:33:33 -06:00
Hugo van Kemenade
c4325c805e
Merge pull request #5878 from DWesl/add-cygwin-to-ci 2022-05-12 14:23:04 +03:00
DWesl
30db27c3aa
CI: Only invoke bash once for build step.
Let's see if this works.

Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2022-05-11 08:01:02 -04:00
DWesl
63cd3cb76b
Merge pull request #9 from radarhere/add-cygwin-to-ci
Added Cygwin badge
2022-05-10 15:26:36 -04:00
Hugo van Kemenade
9c580ce649
Merge pull request #6286 from radarhere/fedora 2022-05-10 18:31:27 +03:00
Hugo van Kemenade
b2b294bbfa
Merge pull request #6284 from radarhere/xfail
Replaced test image to fix xfail
2022-05-10 14:14:20 +03:00
Andrew Murray
1dff85a7ee Added Fedora 36 2022-05-10 20:57:36 +10:00
Andrew Murray
3bce17175c Replaced test image to fix xfail 2022-05-09 22:30:04 +10:00
Andrew Murray
18e1005fbf Update CHANGES.rst [ci skip] 2022-05-09 21:35:28 +10:00
Hugo van Kemenade
5e0e1e4114
Merge pull request #6283 from radarhere/palette
Populate Python palette in fromarray()
2022-05-09 14:32:34 +03:00
Andrew Murray
ef8fd7f8b9 Populate Python palette in fromarray() 2022-05-09 18:50:54 +10:00
Andrew Murray
0c7868b8cd Added Cygwin badge 2022-05-08 21:40:46 +10:00
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
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