Hugo van Kemenade
|
89d8be5b94
|
Merge pull request #7821 from radarhere/apng
|
2024-03-11 17:38:48 +02:00 |
|
Hugo van Kemenade
|
3cdd49f31f
|
Merge pull request #7801 from radarhere/codecs
|
2024-03-11 17:38:12 +02:00 |
|
Hugo van Kemenade
|
d8c8075061
|
Merge pull request #7797 from radarhere/tga_palette
|
2024-03-11 17:37:20 +02:00 |
|
Hugo van Kemenade
|
f543b034bd
|
Merge pull request #7798 from radarhere/ico
|
2024-03-11 17:36:31 +02:00 |
|
Hugo van Kemenade
|
80fd507335
|
Merge pull request #7713 from radarhere/load
|
2024-03-11 17:34:38 +02:00 |
|
Richard Barnes
|
38cec87c93
|
Fix shift-sign issue in Convert.c (#7838)
* Fix shift-sign issue in Convert.c
Fixes
```
libImaging/Convert.c:513:25: error: signed shift result (0xFF000000) sets the sign bit of the shift expression's type ('int') and becomes negative [-Werror,-Wshift-sign-overflow]
UINT32 trns = (0xff << 24) | ((b & 0xff) << 16) | ((g & 0xff) << 8) | (r & 0xff);
~~~~ ^ ~~
```
---------
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
|
2024-03-09 17:52:00 +11:00 |
|
Andrew Murray
|
b7f39076a1
|
Merge pull request #7846 from radarhere/type_hints
Added type hints to additional tests
|
2024-03-03 21:33:08 +11:00 |
|
Andrew Murray
|
d6a3f89e27
|
Open 16-bit grayscale PNGs as I;16
|
2024-03-02 15:39:43 +11:00 |
|
Andrew Murray
|
6d78d42769
|
Added type hints
|
2024-03-02 13:12:17 +11:00 |
|
Andrew Murray
|
a20abff5e4
|
Merge pull request #7709 from lajiyuan/main
Handle truncated chunks at the end of PNG images
|
2024-03-01 22:25:28 +11:00 |
|
Hugo van Kemenade
|
1b25019a27
|
Merge pull request #7779 from radarhere/gif
Match mask size to pasted image size in GifImagePlugin
|
2024-03-01 12:14:05 +02:00 |
|
Andrew Murray
|
dcbe402f77
|
Changed SupportsGetMesh protocol to be public
|
2024-02-29 20:16:41 +11:00 |
|
Andrew Murray
|
f8a54b78a3
|
Merge pull request #7782 from evanmiller/webp-get-next-without-gil
Release GIL while calling `WebPAnimDecoderGetNext`
|
2024-02-22 21:50:41 +11:00 |
|
Hugo van Kemenade
|
e08e1f8340
|
Merge pull request #7804 from twolife/fix_flc
|
2024-02-22 11:05:15 +02:00 |
|
Sébastien Noel
|
e45477e507
|
fix FLI/FLC decoder for files with a prefix chunk
|
2024-02-22 09:13:48 +01:00 |
|
Andrew Murray
|
097cf182fc
|
Added py.typed to support type checking
|
2024-02-21 21:26:37 +11:00 |
|
Andrew Murray
|
c322a2f633
|
Use maximum frame size in IHDR chunk when saving
|
2024-02-21 19:39:29 +11:00 |
|
Andrew Murray
|
5c858d75e4
|
Added type hints
|
2024-02-17 10:45:52 +11:00 |
|
Andrew Murray
|
3199c0ea40
|
Decoder and encoders subclass PyDecoder and PyEncoder
|
2024-02-15 20:24:08 +11:00 |
|
Andrew Murray
|
21e5d5d082
|
Use palette when loading
|
2024-02-14 09:17:22 +11:00 |
|
Andrew Murray
|
818500b329
|
Raise an error if map depth is unknown
|
2024-02-14 07:10:44 +11:00 |
|
Andrew Murray
|
63987b7aba
|
Set mode to L if palette is missing
|
2024-02-14 06:55:13 +11:00 |
|
Andrew Murray
|
47eaf0937f
|
Use IO[bytes] in type hints
|
2024-02-13 22:26:23 +11:00 |
|
Andrew Murray
|
8acacffb70
|
Merge branch 'main' into webp-get-next-without-gil
|
2024-02-13 21:33:15 +11:00 |
|
Andrew Murray
|
29dd02509d
|
Merge branch 'main' into type-hints-replace-io.BytesIO
|
2024-02-11 22:02:55 +11:00 |
|
Andrew Murray
|
8ef0ffc2b8
|
Removed no cover pragma
|
2024-02-10 22:37:42 +11:00 |
|
Andrew Murray
|
d02a778efd
|
Removed no cover pragmas
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2024-02-10 21:57:59 +11:00 |
|
Andrew Murray
|
68db96981c
|
Removed else
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2024-02-10 21:50:48 +11:00 |
|
Andrew Murray
|
517b797132
|
Removed FileDescriptor
|
2024-02-10 20:47:32 +11:00 |
|
Andrew Murray
|
19a6edeecc
|
Added type hints
|
2024-02-10 19:50:45 +11:00 |
|
Andrew Murray
|
152a24e13a
|
Simplified code
|
2024-02-10 16:48:02 +11:00 |
|
Andrew Murray
|
a118a82c30
|
Use os.path.realpath consistently when os.fspath is used
|
2024-02-08 18:48:45 +11:00 |
|
Andrew Murray
|
a276cf2c9f
|
Use _typing alias
|
2024-02-08 18:48:38 +11:00 |
|
Andrew Murray
|
cb39b1c89e
|
Corrected syntax
|
2024-02-08 12:29:06 +11:00 |
|
Evan Miller
|
c93b23239d
|
Update src/_webp.c
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
|
2024-02-07 20:20:27 -05:00 |
|
Andrew Murray
|
159fc068ca
|
Merge branch 'main' into type-hints-replace-io.BytesIO
|
2024-02-07 20:50:36 +11:00 |
|
Hugo van Kemenade
|
811dd15ca5
|
Merge pull request #7769 from radarhere/type_hints
|
2024-02-06 23:12:26 +02:00 |
|
Evan Miller
|
469db5114c
|
Release GIL while calling WebPAnimDecoderGetNext
|
2024-02-06 15:41:08 -05:00 |
|
Andrew Murray
|
65cb0b0487
|
Added _typing.Coords
|
2024-02-06 07:49:43 +11:00 |
|
pre-commit-ci[bot]
|
27b0cf67e7
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-02-05 17:18:52 +00:00 |
|
Andrew Murray
|
5a8e7dda79
|
Added type hints
|
2024-02-05 20:36:34 +11:00 |
|
Andrew Murray
|
dfb48ff297
|
Match mask size to pasted image size
|
2024-02-05 19:16:15 +11:00 |
|
Andrew Murray
|
d8f52f58be
|
Merge branch 'main' into main
|
2024-02-05 08:56:25 +11:00 |
|
Andrew Murray
|
8d96e3bc59
|
Changed name of first _Tile parameter
|
2024-02-02 23:54:31 +11:00 |
|
pre-commit-ci[bot]
|
256f3f1966
|
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
|
2024-01-31 19:38:55 +00:00 |
|
Hugo van Kemenade
|
f2228e0a7c
|
Replace bytes | str | Path with StrOrBytesPath
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
|
2024-01-31 12:37:53 -07:00 |
|
Andrew Murray
|
58554de0c8
|
Merge branch 'main' into main
|
2024-02-01 00:06:05 +11:00 |
|
Andrew Murray
|
d57b5e827c
|
Corrected check
|
2024-01-31 19:10:33 +11:00 |
|
Andrew Murray
|
5efa2ade22
|
Added test
|
2024-01-31 19:10:33 +11:00 |
|
Andrew Murray
|
39cbd4f0f1
|
Expanded error message strings
|
2024-01-31 19:10:33 +11:00 |
|