Commit Graph

258 Commits

Author SHA1 Message Date
Andrew Murray
55fe987a62 Merge branch 'main' into context_manager 2025-03-30 21:40:25 +11:00
Andrew Murray
14fb62e36c
Assert image type (#8619) 2025-03-30 10:42:46 +03:00
Andrew Murray
7e6a2f68b5 Updated type hints 2025-03-30 12:01:38 +11:00
Andrew Murray
3abce858c3
Merge branch 'main' into context_manager 2025-03-30 07:25:49 +11:00
Andrew Murray
93cdfeb488
Prevent TIFFRGBAImageBegin from applying image orientation (#8556)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-03-29 18:25:57 +02:00
Andrew Murray
7a1d854c00
Merge branch 'main' into context_manager 2025-03-22 00:44:22 +11:00
Andrew Murray
6cc5f1f0ad Simplified code 2025-03-19 20:58:40 +11:00
Andrew Murray
24a0c4da71
Merge branch 'main' into context_manager 2025-03-18 22:57:09 +11:00
Andrew Murray
3607d1ade3 Use match argument 2025-03-05 00:03:37 +11:00
Andrew Murray
9ca85eb298
Merge branch 'main' into context_manager 2025-02-06 22:41:10 +11:00
pre-commit-ci[bot]
955d678ca2 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2025-02-03 17:36:01 +00:00
Andrew Murray
b9d3bb6347
Merge branch 'main' into context_manager 2025-01-31 23:21:50 +11:00
Andrew Murray
a9d05a1e51
Fixed unclosed file warnings (#8705)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-01-27 22:59:44 +02:00
Andrew Murray
a8c88c213c
Merge branch 'main' into context_manager 2025-01-27 21:31:34 +11:00
Andrew Murray
e19a1496c2
Use monkeypatch (#8707)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
2025-01-27 12:17:51 +02:00
Andrew Murray
a57d0e00ca Merge branch 'main' into context_manager 2025-01-11 06:51:05 +11:00
Andrew Murray
0572221299 Updated return type 2025-01-09 15:11:06 +11:00
Andrew Murray
66fe28956b Merge branch 'main' into context_manager 2025-01-09 15:05:47 +11:00
Andrew Murray
a34a9cd6d1 Improved test coverage 2025-01-09 14:49:48 +11:00
Harm.van.den.brand@alliander.com
036db2da87 OSError caused by decode error should use string argument to be in line with rest of module 2025-01-03 12:50:19 +01:00
Andrew Murray
8790593f8f Merge branch 'main' into context_manager 2024-11-29 13:48:16 +11:00
Andrew Murray
925db45526 Moved test 2024-11-20 22:40:29 +11:00
Andrew Murray
e005bcf8f2 Added type hints 2024-09-09 22:34:46 +10:00
Andrew Murray
1cf887dbec Rearranged code 2024-07-21 05:22:13 +10:00
Andrew Murray
f624460321 Added type hints 2024-07-20 13:14:18 +10:00
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
5ce3f55111 Merge branch 'main' into exififd 2024-06-25 21:53:17 +10:00
Andrew Murray
84b2847232 Accept 't' suffix for libtiff version 2024-06-11 07:15:47 +10:00
Andrew Murray
ac7967cfc0 Do not preserve EXIFIFD tag by default 2024-06-07 13:25:56 +10:00
Andrew Murray
66ab7e0de2 Added type hints 2024-06-01 21:31:53 +10:00
Andrew Murray
e68cec640a Added type hints 2024-05-30 12:00:50 +10:00
Andrew Murray
0df8796e19 Parametrized test 2024-04-22 18:45:41 +10:00
Andrew Murray
c7bb152ed9 support_custom_tags attribute is not present if libtiff is not supported 2024-04-22 18:30:00 +10:00
Andrew Murray
533f78e0a2 Parametrize test 2024-04-19 07:47:14 +10:00
Andrew Murray
28f436c94d Use monkeypatch to set READ_LIBTIFF and WRITE_LIBTIFF 2024-04-18 17:57:40 +10:00
Hugo van Kemenade
6ed952b510 Fix: PYI024 Use typing.NamedTuple instead of collections.namedtuple 2024-03-23 20:52:50 +02:00
Andrew Murray
3004c46683 Block saving TIFF tag OSUBFILETYPE using libtiff 2024-03-22 23:43:55 +11:00
Andrew Murray
6d78d42769 Added type hints 2024-03-02 13:12:17 +11:00
Andrew Murray
cdc498e6f3 Added type hints 2024-02-07 19:16:28 +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
53c3cd9f8e isort Tests 2024-01-20 13:23:03 +02:00
Hugo van Kemenade
43b2f61e79 Add 'from __future__ import annotations' using Ruff/isort 2023-12-21 13:13:31 +02:00
Andrew Murray
d0abab7997 When orientation is applied, delete TIFF tag 2023-09-08 15:05:53 +10:00
Andrew Murray
e195e60ce2 Ensure TIFF has transposed on load before checking orientation 2023-09-08 15:05:48 +10:00
Andrew Murray
b1b0353d17 Corrected passing TIFF_LONG to libtiff 2023-04-01 12:21:16 +11:00
Andrew Murray
aa9ecac032 Added ImageSourceData to TAGS_V2 2023-04-01 10:27:39 +11:00
Andrew Murray
2fc7cfb6b2
Added spaces between parameter arguments
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-03-12 22:32:38 +11:00
Andrew Murray
90c226c69a
Merge branch 'main' into tiff 2023-03-12 22:30:15 +11:00
Andrew Murray
e953978b31 Added test 2023-03-04 11:44:45 +11:00