Andrew Murray
98f975dbbe
Do not save XMP from info
2024-10-18 18:56:23 +11:00
Andrew Murray
a337138f92
Updated type hint
2024-10-18 08:32:14 +11:00
Andrew Murray
d59b169ed2
Update CHANGES.rst [ci skip]
2024-10-17 23:10:48 +11:00
Hugo van Kemenade
6e2ebaae2d
Merge pull request #8474 from python-pillow/renovate/mypy-1.x
...
Update dependency mypy to v1.12.0
2024-10-17 08:16:14 +03:00
Andrew Murray
0beb2228f9
Include JpegImageFile layers in state
2024-10-17 12:44:25 +11:00
Andrew Murray
4611a24661
Fix IFDRational with a zero denominator
2024-10-17 10:58:48 +11:00
Andrew Murray
5ff20273d9
Updated type hints
2024-10-17 10:46:26 +11:00
renovate[bot]
c252b708ee
Update dependency mypy to v1.12.0
2024-10-16 21:41:38 +00:00
Andrew Murray
11c654c187
Update CHANGES.rst [ci skip]
2024-10-16 23:07:35 +11:00
mergify[bot]
1c11d4581c
Merge pull request #8469 from radarhere/disable
...
Fixed disabling a feature during install
2024-10-16 11:38:07 +00:00
Andrew Murray
7c194b54ef
Fixed disabling a feature
2024-10-16 21:37:14 +11:00
Hugo van Kemenade
96fb0e63ea
Merge pull request #8467 from radarhere/pypy
...
Skip PyPy3.9 wheels
2024-10-16 08:27:11 +03:00
Andrew Murray
8393972c35
Skip PyPy3.9 wheels
2024-10-16 09:56:33 +11:00
Andrew Murray
37e56350a3
Merge pull request #8466 from radarhere/fedora
...
Removed Fedora 39
2024-10-16 09:14:28 +11:00
Hugo van Kemenade
304732f75e
Merge pull request #8465 from radarhere/tile
2024-10-15 18:05:37 +03:00
Hugo van Kemenade
455e6da119
11.1.0.dev0 version bump
2024-10-15 17:30:25 +03:00
Andrew Murray
a433f24f0b
tile is already an empty list
2024-10-15 22:14:26 +11:00
Hugo van Kemenade
204aae6682
11.0.0 version bump
2024-10-15 08:55:00 +03:00
Andrew Murray
3911afbc97
Removed Fedora 39
2024-10-14 16:56:48 +11:00
Andrew Murray
f2cc87b1f0
Update CHANGES.rst [ci skip]
2024-10-13 11:19:41 +11:00
Andrew Murray
c855e8e5f9
Merge pull request #8464 from radarhere/imagemath_type_hint
...
Added type hints to remaining ImageMath methods
2024-10-13 11:00:15 +11:00
Andrew Murray
89bafd3098
remove unpackers with identical output
2024-10-12 18:34:00 -05:00
Yay295
75e54c23ac
add check for deprecated rawmodes when creating an ImagePalette
2024-10-12 18:33:59 -05:00
Yay295
976f30709a
don't show rawmode deprecation warning if mode is same as rawmode
...
The "BGR;15" and "BGR;16" modes being deprecated is separate from the "BGR;15" and "BGR;16" rawmodes being deprecated.
2024-10-12 18:33:59 -05:00
Yay295
d330a136cd
move deprecated rawmode unpack tests to test_unpack_deprecated()
2024-10-12 18:33:59 -05:00
Yay295
adcd541110
deprecate old rawmodes for 16-bit RGB data
2024-10-12 18:33:58 -05:00
Yay295
f281063941
use new rawmodes in BMP and TGA image plugins
2024-10-12 18:33:58 -05:00
Yay295
5ffaf3f378
clean up rawmode syntax comments
2024-10-12 18:33:58 -05:00
Yay295
3af0e2d9cf
add "new" rawmodes for 16-bit RGB data
...
The existing 16-bit RGB rawmodes do not follow the naming convention given in Unpack.c. These new modes do follow that convention, except since these modes do not all use the same number of bits for each band, the sizes of each band are listed.
Old → New
RGB;15 → XBGR;1555
RGB;16 → BGR;565
BGR;5 → XRGB;1555
BGR;15 → XRGB;1555
BGR;16 → RGB;565
RGB;4B → XBGR;4
RGBA;4B → ABGR;4
RGBA;15 → ABGR;1555
BGRA;15 → ARGB;1555
BGRA;15Z → ARGB;1555Z
These new rawmodes also use a slightly different conversion method. The most accurate conversion from 5 to 8 bits is "round(x * 255 / 31.0)". However, that involves floating point numbers and rounding, so it's not as fast. The current method doesn't include the rounding, allowing us to also use integer instead of floating point division. This is faster, but unfortunately not roundtrippable - when converting from 5 to 8 to 5 bits not every value stays the same. The new method is roundtrippable, even faster than the current method since it uses basic bitwise operations instead of multiplication and division, and if you compare the result to what you get with rounding and floating point numbers, it is actually more accurate.
2024-10-12 18:33:57 -05:00
Yay295
7d5771e56d
parametrize test_lib_pack.py
2024-10-12 18:33:57 -05:00
Andrew Murray
dc3751599f
Merge pull request #8463 from hugovk/update-3.13-date
...
Update Python 3.13 release date
2024-10-13 09:32:26 +11:00
Hugo van Kemenade
c3d81d6375
Update Python 3.13 release date
2024-10-12 23:52:57 +03:00
Andrew Murray
a60610c93f
Added type hints
2024-10-13 07:42:17 +11:00
Andrew Murray
a5c58f2182
Merge pull request #8460 from hugovk/mit-cmu
...
Update licence to MIT-CMU
2024-10-13 07:10:09 +11:00
Hugo van Kemenade
e74994ed37
Update licence to MIT-CMU
2024-10-12 16:50:36 +03:00
Andrew Murray
b5e1115bf2
Update CHANGES.rst [ci skip]
2024-10-12 21:10:47 +11:00
Hugo van Kemenade
686b5e2cb4
Merge pull request #8392 from radarhere/tiff_seek
...
Do not create core image in TIFF seek()
2024-10-12 11:46:36 +03:00
Hugo van Kemenade
914f7e1c58
Merge pull request #8365 from radarhere/openjpeg
...
Removed custom build_openjpeg
2024-10-12 11:46:01 +03:00
Hugo van Kemenade
b0d79c87f1
Merge pull request #8197 from radarhere/imagecms_core
...
Conditionally define ImageCms type hint to avoid requiring core
2024-10-12 11:30:17 +03:00
Hugo van Kemenade
fd74857bcf
Merge pull request #8417 from radarhere/appendingTiffWriter
...
Support writing LONG8 offsets in AppendingTiffWriter
2024-10-12 11:29:09 +03:00
Hugo van Kemenade
3dded83076
Merge pull request #8461 from radarhere/undone
...
Use ImageFile.MAXBLOCK when saving TIFF images
2024-10-12 11:25:55 +03:00
Andrew Murray
00c5989d4e
Use MAXBLOCK
2024-10-12 13:44:48 +11:00
Hugo van Kemenade
08b561e25d
Merge pull request #8459 from radarhere/webp
2024-10-11 14:59:26 +03:00
Andrew Murray
e93dcc1578
Update CHANGES.rst [ci skip]
2024-10-11 21:09:52 +11:00
Hugo van Kemenade
ecdd519a0e
Merge pull request #8458 from radarhere/dup
2024-10-11 13:07:44 +03:00
Andrew Murray
afbf45055a
Always raise warnings for deprecated feature checks
2024-10-11 20:59:15 +11:00
Andrew Murray
7edf952832
Do not close provided file handles with libtiff
2024-10-11 19:37:56 +11:00
Hugo van Kemenade
3d9c05c224
Merge pull request #8457 from hugovk/sphinx-8.1
2024-10-11 10:58:08 +03:00
Hugo van Kemenade
fdd5d0c0fb
Use CVE and CWE roles from Sphinx 8.1
2024-10-10 21:35:48 +03:00
Andrew Murray
97438cb8fd
Update CHANGES.rst [ci skip]
2024-10-10 22:50:26 +11:00