AnonymouX47
aaf18a7c9b
Added release notes
2022-02-20 22:21:36 +01:00
AnonymouX47
18d97bab16
Updated test for GifImagePlugin.seek()
...
- Add: Included test for `n_frames` optimization.
2022-02-20 22:20:54 +01:00
AnonymouX47
5bdd0762f3
Optimized GifImagePlugin seek-related operations
...
- Add: Added `self.__prev_offset` to always hold the offset of the frame just before the current frame.
- Add: Seeking beyond the last frame automatically computes `GifImagePlugin.n_frames`.
- Change: Optimized `GifImagePlugin.seek()`, `GifImagePlugin.n_frames` and `GifImagePlugin.is_animated` when seeking back to the current frame before invoking the operation, after an `EOFError` is raised.
- Change: Replaced all internal calls to `GifImagePlugin.tell()` with direct references to `self.__frame`.
2022-02-20 22:20:44 +01:00
Hugo van Kemenade
b803b7c2a1
Merge pull request #6061 from radarhere/getpalette
2022-02-20 22:15:13 +02:00
Andrew Murray
11948050ae
Updated tests in light of #6060
2022-02-20 23:54:12 +11:00
Andrew Murray
7aa49741c6
Merge branch 'main' into getpalette
2022-02-20 23:52:20 +11:00
Andrew Murray
737fe769a6
Added release notes
2022-02-19 23:01:19 +11:00
Andrew Murray
da451e5bea
Record the version the rawmode argument was added
2022-02-19 22:55:23 +11:00
Hugo van Kemenade
b78e601b63
Merge pull request #6071 from radarhere/handler
...
Fixed BUFR, GRIB and HDF5 stub saving
2022-02-19 11:25:42 +02:00
Hugo van Kemenade
de06aba8f1
Merge pull request #6068 from radarhere/quantize
...
Changed quantize default dither to FLOYDSTEINBERG
2022-02-19 11:24:17 +02:00
Hugo van Kemenade
bfa6da63a4
Merge pull request #6045 from radarhere/imageshow
...
Do not automatically remove temporary ImageShow files on Unix
2022-02-19 11:06:10 +02:00
Hugo van Kemenade
3d33987d7c
Merge pull request #4685 from Meithal/patch-3
...
Correctly read JPEG compressed BLP images
2022-02-19 11:03:36 +02:00
Hugo van Kemenade
e5fa767024
Merge pull request #6067 from radarhere/subsampling
...
Corrected JPEG subsampling documentation
2022-02-19 10:57:41 +02:00
Hugo van Kemenade
e0afe932a1
Merge pull request #6057 from radarhere/mode_conv
...
Merged _MODE_CONV typ into ImageMode as typestr
2022-02-19 10:13:36 +02:00
Andrew Murray
3f5fad3a27
Fixed BUFR, GRIB and HDF5 stub saving
2022-02-19 14:29:03 +11:00
Andrew Murray
341802c2dc
Removed unused argument
2022-02-19 10:50:07 +11:00
Andrew Murray
7538864839
Changed quantize default dither to FLOYDSTEINBERG
2022-02-19 10:49:46 +11:00
Andrew Murray
f6e024212c
Use enums for quantize instead of raw values
2022-02-19 10:49:23 +11:00
Andrew Murray
af345358e3
Update CHANGES.rst [ci skip]
2022-02-19 10:43:15 +11:00
Andrew Murray
60e3734b30
Added release notes
2022-02-19 10:36:31 +11:00
Hugo van Kemenade
1ec7be9a87
Merge pull request #6060 from radarhere/palette
...
Consider palette size when converting and in getpalette()
2022-02-18 23:31:56 +02:00
Hugo van Kemenade
07741c9315
Merge pull request #5954 from radarhere/enum
2022-02-18 15:53:41 +02:00
Andrew Murray
5d7b6c9d88
Documented deprecation
2022-02-18 22:13:11 +11:00
Hugo van Kemenade
6b8edca6df
Merge pull request #6066 from radarhere/install
2022-02-18 08:47:02 +02:00
mergify[bot]
29b7030631
Merge pull request #6065 from hugovk/mac-install-openjpeg
...
macOS: 'brew install openjpeg' for JPEG2000 support
2022-02-17 23:09:32 +00:00
Andrew Murray
a5ada2c56f
Added a note about the default subsampling
2022-02-18 09:56:59 +11:00
Andrew Murray
6bbdd2510e
Use --no-binary when installing from source
2022-02-18 09:26:57 +11:00
Hugo van Kemenade
cfad80cbe6
macOS: 'brew install openjpeg' for JPEG2000 support
2022-02-17 22:24:45 +02:00
Andrew Murray
f2a8c45744
Remove incorrect documentation of "-1" subsampling setting
2022-02-17 23:54:10 +11:00
Hugo van Kemenade
669247cbd7
Merge pull request #6063 from radarhere/copyright
2022-02-17 13:43:43 +02:00
Andrew Murray
58509a48a8
Use existing image
2022-02-17 22:22:44 +11:00
Andrew Murray
985e4fbe40
Simplified code
2022-02-17 22:22:34 +11:00
Andrew Murray
74080b94f9
Updated comment
2022-02-17 18:55:48 +11:00
Andrew Murray
9ae80a804f
Update CHANGES.rst [ci skip]
2022-02-17 18:53:18 +11:00
Hugo van Kemenade
0aca22e863
Merge pull request #6052 from radarhere/p2pa
2022-02-17 09:39:39 +02:00
Hugo van Kemenade
b4e487b731
Merge pull request #6062 from radarhere/copyright
2022-02-17 09:18:57 +02:00
Andrew Murray
d4ee19199c
Replaced test image to avoid copyrighted color space
2022-02-17 14:39:18 +11:00
Andrew Murray
6be87277f7
Allow rawmode None to return the palette in the current mode
2022-02-17 10:35:13 +11:00
Andrew Murray
852859476b
Added rawmode argument to getpalette()
2022-02-17 10:15:03 +11:00
Hugo van Kemenade
bd4e20f8c2
Merge pull request #6058 from radarhere/relative
...
Replaced absolute PIL import with relative import
2022-02-17 00:15:53 +02:00
Andrew Murray
54cb09d8b4
When converting to P, restrict colors to palette size
2022-02-16 11:01:00 +11:00
Andrew Murray
948c064b28
Allow getpalette() to return less than 256 colors
2022-02-16 09:56:13 +11:00
Andrew Murray
10e1731149
Update CHANGES.rst [ci skip]
2022-02-16 07:39:35 +11:00
Hugo van Kemenade
f5a77fed39
Merge pull request #6054 from radarhere/palette
2022-02-15 19:01:07 +02:00
Andrew Murray
9d3c8d2714
Added further typestr entries
2022-02-15 22:30:33 +11:00
Andrew Murray
fbd23bbf28
Clarified code
2022-02-15 22:30:33 +11:00
Andrew Murray
902e3812a8
Use ternary operator
2022-02-15 22:30:33 +11:00
Andrew Murray
3bbcad1ad2
Avoid circular dependency
2022-02-15 22:30:12 +11:00
Andrew Murray
bba493d702
Replaced absolute PIL import with relative import
2022-02-15 21:50:20 +11:00
Andrew Murray
a2313be894
Merged _MODE_CONV typ into ImageMode as typestr
2022-02-15 18:01:02 +11:00