Andrew Murray
|
486dac7efc
|
Added type hints
|
2024-07-06 19:17:23 +10:00 |
|
Andrew Murray
|
4aa24f88d9
|
Added type hints to tests (#8203)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
|
2024-07-05 11:56:24 -06:00 |
|
Andrew Murray
|
267c0b37b1
|
Added type hints
|
2024-07-02 20:10:47 +10:00 |
|
Hugo van Kemenade
|
3fdaecb025
|
Merge pull request #8063 from radarhere/possible_formats
|
2024-06-28 00:18:10 -06:00 |
|
Andrew Murray
|
fd3f6c1a92
|
Remove zero-byte end padding when parsing any XMP data
|
2024-06-26 19:31:40 +10:00 |
|
Andrew Murray
|
42381aa1e6
|
Added type hints
|
2024-06-24 06:59:00 +10:00 |
|
Andrew Murray
|
cc83cc8ec8
|
Updated type hints
|
2024-06-22 10:09:11 +10:00 |
|
Andrew Murray
|
7ab3aee7bc
|
Merge branch 'main' into xmp
|
2024-06-19 09:06:10 +10:00 |
|
Andrew Murray
|
291ee35204
|
Added type hints
|
2024-06-18 23:03:03 +10:00 |
|
Andrew Murray
|
eba2694498
|
Merge branch 'main' into xmp
|
2024-06-05 15:53:46 +10:00 |
|
Andrew Murray
|
66ab7e0de2
|
Added type hints
|
2024-06-01 21:31:53 +10:00 |
|
Andrew Murray
|
afc7d8d0b0
|
Added type hints
|
2024-05-30 17:17:22 +10:00 |
|
Andrew Murray
|
0f1a0fc501
|
Improved consistency of XMP handling
|
2024-05-20 23:11:50 +10:00 |
|
Andrew Murray
|
7554e2cfbf
|
Use monkeypatch
|
2024-05-17 08:44:04 +10:00 |
|
Andrew Murray
|
1036aa74a7
|
Added Image.WARN_POSSIBLE_FORMATS
|
2024-05-16 17:47:35 +10:00 |
|
Andrew Murray
|
db4714c280
|
Removed helper.py modes
|
2024-05-12 21:20:46 +10:00 |
|
Andrew Murray
|
86fb383739
|
Corrected big-endian check
|
2024-04-27 14:08:36 +10:00 |
|
Andrew Murray
|
f7c9327264
|
Merge branch 'bgr' into bgr-helper
|
2024-04-26 08:13:38 +10:00 |
|
Andrew Murray
|
f56a2c9b7e
|
Merge branch 'main' into bgr
|
2024-04-26 07:11:04 +10:00 |
|
Hugo van Kemenade
|
0099de0ed9
|
Add deprecation helper for Image.new with BGR; modes
|
2024-04-25 16:00:14 +03:00 |
|
Andrew Murray
|
5faebadd56
|
BGR;16 does not fail on big-endian
|
2024-04-24 21:05:59 -05:00 |
|
Yay295
|
98510570e6
|
ignore BGR;15/16 test failure on big-endian
|
2024-04-20 10:13:38 -05:00 |
|
Andrew Murray
|
5c960d6abc
|
rename "image_mode_names" to "modes"
|
2024-04-20 09:03:19 -05:00 |
|
Andrew Murray
|
5573ec7490
|
use hopper() for test_getdata_putdata()
|
2024-04-20 09:02:49 -05:00 |
|
Yay295
|
fe79ae5653
|
get pixel size by counting bytes in 1x1 image
|
2024-04-20 09:01:46 -05:00 |
|
Yay295
|
5a4b771fb0
|
move image mode info variables to helper.py
|
2024-04-20 09:01:38 -05:00 |
|
Yay295
|
139245a3db
|
use namedtuple for image mode info
|
2024-04-20 09:01:37 -05:00 |
|
Andrew Murray
|
d431c97ba3
|
Deprecate BGR;15, BGR;16 and BGR;24
|
2024-04-15 19:28:52 +10:00 |
|
Andrew Murray
|
9c41bf4641
|
Only specify image size once
|
2024-03-21 19:16:06 +11:00 |
|
Andrew Murray
|
a0ab9f488f
|
Added type hints
|
2024-03-21 19:12:48 +11:00 |
|
Andrew Murray
|
10ceae924c
|
Removed unused number of bands
|
2024-03-21 19:11:35 +11:00 |
|
Andrew Murray
|
c3997050b0
|
Simplified test using assert_image_equal
|
2024-03-21 19:11:19 +11:00 |
|
Andrew Murray
|
fd80b2e1d9
|
Moved sample data inside test
|
2024-03-21 18:46:09 +11:00 |
|
Yay295
|
d30404fede
|
use dummy var name for unused parts of unpacked tuple
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2024-03-20 08:55:05 -05:00 |
|
Yay295
|
680f387bc2
|
enable bgr modes for image bytes tests
|
2024-03-11 12:07:34 -05:00 |
|
Yay295
|
12d626a6bb
|
add typing to image bytes tests
|
2024-03-11 12:00:13 -05:00 |
|
Yay295
|
79c9b2b261
|
autosize TestImageBytes.sample_bytes
|
2024-03-11 11:37:48 -05:00 |
|
Yay295
|
43f3c822a7
|
use tuple of tuples for image mode info
|
2024-03-11 11:37:48 -05:00 |
|
Yay295
|
a626ff0e60
|
add tests using the bytes Image class methods
|
2024-03-11 11:37:45 -05:00 |
|
Hugo van Kemenade
|
3cdd49f31f
|
Merge pull request #7801 from radarhere/codecs
|
2024-03-11 17:38:12 +02:00 |
|
Andrew Murray
|
6d78d42769
|
Added type hints
|
2024-03-02 13:12:17 +11:00 |
|
Yay295
|
e6785576b1
|
add typing to test_p_from_rgb_rgba()
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
|
2024-02-26 08:47:30 -06:00 |
|
Yay295
|
fe85947f16
|
use single string for parameter names instead of tuple of strings
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
|
2024-02-26 07:47:13 -06:00 |
|
Yay295
|
ece34104cb
|
parametrize test_p_from_rgb_rgba()
|
2024-02-26 01:02:25 -06:00 |
|
Andrew Murray
|
3199c0ea40
|
Decoder and encoders subclass PyDecoder and PyEncoder
|
2024-02-15 20:24:08 +11:00 |
|
Andrew Murray
|
50e9a92c98
|
Merge pull request #7794 from radarhere/type_hints
Added type hints to additional tests
|
2024-02-13 22:22:24 +11:00 |
|
Andrew Murray
|
4ce06aac3b
|
Added type hints
|
2024-02-12 23:01:44 +11:00 |
|
Andrew Murray
|
530512f699
|
Merge branch 'main' into type-hints-replace-io.BytesIO
|
2024-01-31 22:58:53 +11:00 |
|
Hugo van Kemenade
|
4a4b90c365
|
Autotype tests (#7756)
* autotyping: --none-return
* autotyping: --scalar-return
* autotyping: --int-param
* autotyping: --float-param
* autotyping: --str-param
* autotyping: --annotate-named-param tmp_path:pathlib.Path
|
2024-01-31 20:12:58 +11:00 |
|
Hugo van Kemenade
|
61d47c3dfa
|
More support for arbitrary os.PathLike
|
2024-01-27 14:06:06 +02:00 |
|