Commit Graph

236 Commits

Author SHA1 Message Date
Andrew Murray
925db45526 Moved test 2024-11-20 22:40:29 +11: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
pre-commit-ci[bot]
24183d652e [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-02-06 19:27:19 +00:00
Andrew Murray
412f5a5233 Moved test_wrong_bits_per_sample to test_file_libtiff.py 2023-01-29 17:33:51 +11:00
Andrew Murray
510de501ea Moved test_get_child_images to test_file_libtiff.py 2023-01-29 17:33:46 +11:00
Hugo van Kemenade
d0ad0a0d3d
Merge pull request #6562 from nulano/winbuild-update 2022-10-27 14:10:16 +03:00
Mark Mayo
69baeccf2e some pylint warnings
Fixed some pylint issues
2022-10-13 15:20:11 +13:00
Andrew Murray
7242a8a9ff
Merge branch 'main' into winbuild-update 2022-10-11 16:32:22 +11:00
Andrew Murray
1735872442 Enabled test 2022-10-03 17:48:27 +11:00
Andrew Murray
c259ac492f Parametrized tests 2022-10-03 16:57:42 +11:00
nulano
b22c66eeb8
skip libtiif webp test when libtiff is too old 2022-09-05 14:06:50 +02:00
nulano
ffedfe034a
test libtiff with webp compression 2022-09-05 12:41:59 +02:00
nulano
9699a0e1d6
test libtiff with lzma 2022-09-05 10:13:52 +02:00
Andrew Murray
0ed03d4a58 Parametrize tests 2022-08-23 21:41:32 +10:00
Hugo van Kemenade
ae14255c34
Merge pull request #6470 from radarhere/pdf_ccittfaxdecode
Save 1 mode PDF using CCITTFaxDecode filter
2022-08-07 19:11:37 +03:00
Andrew Murray
101f115853 Increased tolerance to allow for libtiff with libjpeg-turbo 2022-08-04 20:03:24 +10:00
Andrew Murray
2b14d83549 Added strip_size as TIFF encoder argument 2022-08-01 21:41:17 +10:00
Andrew Murray
1c0bc81a65 Revert "Skip test_realloc_overflow unless libtiff 4.0.4 or higher" 2022-06-08 17:51:44 +10:00
Hugo van Kemenade
55d3c07e1d
Merge pull request #6232 from radarhere/colormap 2022-06-01 23:12:13 +03:00
Andrew Murray
1a286627b4 Skip test_realloc_overflow unless libtiff 4.0.4 or higher 2022-05-17 13:17:01 +03:00
Andrew Murray
1e3fdb3055 Pad COLORMAP to 768 items 2022-04-21 11:29:17 +10:00
Andrew Murray
ca3bc290e3 Record resolution instead of requiring ctypes 2022-03-19 14:45:40 +11:00
Andrew Murray
72b7ab54bd pre-commit autoupdate --freeze 2022-03-04 16:42:24 +11:00
Andrew Murray
f8e4e9c2dd Added enums 2022-01-15 09:02:31 +11:00