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
eee633cb21
Merge pull request #7975 from radarhere/libtiff
...
Corrected check for libtiff feature
2024-04-22 09:00:35 +10:00
Andrew Murray
11ac0c1703
Combine tests through parametrization
2024-04-19 17:15:10 +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
f8160b858a
Merge pull request #7936 from adamjstewart/types/fromarray
2024-04-17 16:43:57 +03:00
Andrew Murray
71029803e7
Corrected check for libtiff feature
2024-04-14 21:57:29 +10:00
Andrew Murray
22705d3da5
Merge pull request #7956 from Cirras/obscure-bitmap-headers
...
Add support for reading `BITMAPV2INFOHEADER` and `BITMAPV3INFOHEADER`
2024-04-13 16:25:26 +10:00
Yay295
c1f6abbd37
Fix test error message grammar
2024-04-11 14:07:07 -05:00
Andrew Murray
94fe670c0b
Test DIB header size
2024-04-10 23:18:31 +10:00
Andrew Murray
4b4cdbd40c
Added image to supported list
2024-04-10 20:37:44 +10:00
Jonah Jeleniewski
a1a2202ebe
Add support for bitmaps with header size 56
...
Size 56 is the undocumented `BITMAPV3INFOHEADER`.
It adds the alpha bit mask.
The format is known to be supported by:
- Windows (MS paint, etc.)
- Adobe Photoshop
- Popular web browsers
2024-04-08 22:38:06 +10:00
Jonah Jeleniewski
2f3281dcda
Add support for bitmaps with header size 52
...
Size 52 is the undocumented `BITMAPV2INFOHEADER`.
It adds the RGB bit masks.
The format is known to be supported by:
- Adobe Photoshop
- Popular web browsers
2024-04-08 21:18:19 +10:00
Andrew Murray
84238bd459
Merge branch 'main' into types/fromarray
2024-04-07 08:32:48 +10:00
Yay295
1635e7a571
Update Tests/test_image_getdata.py
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-04-06 15:18:16 -05:00
Yay295
6a255de24f
Rename test_roundtrip() to test_hopper()
...
This test isn't actually roundtripping anything.
2024-04-06 11:14:38 -05:00
Andrew Murray
c61a481028
Support reading CMYK JPEG2000 images
2024-04-06 13:40:39 +11:00
Andrew Murray
e85a84baa7
Added SupportsArrayInterface
2024-04-03 20:00:40 +11:00
Hugo van Kemenade
97c6e46f34
Fix lint
2024-04-01 20:49:19 +03:00
pre-commit-ci[bot]
88ddcde8d8
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-01 17:24:31 +00:00
Andrew Murray
e4a10051b6
Corrected test
2024-04-01 23:25:27 +11:00
Andrew Murray
aeb51cbb16
Merge branch 'main' into lcms
2024-04-01 19:26:55 +11:00
Andrew Murray
2a93aba5cf
Use strncpy to avoid buffer overflow
2024-04-01 09:24:43 +03:00
pre-commit-ci[bot]
8f3860c29b
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2024-04-01 06:17:03 +00:00
Andrew Murray
27b10c4bd8
Deprecate eval(), replacing it with lambda_eval() and unsafe_eval()
2024-04-01 09:11:59 +03:00
Hugo van Kemenade
22376775b0
Merge pull request #7912 from hugovk/hopper-lru-cache
2024-04-01 08:53:01 +03:00
Hugo van Kemenade
da13358245
Merge pull request #7883 from radarhere/tiff
...
Raise ValueError if seeking to greater than offset-sized integer in TIFF
2024-04-01 08:46:05 +03:00
Hugo van Kemenade
512ee3ff9b
Simplify code and update comments
...
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-31 23:13:30 -06:00
Andrew Murray
d97585af5a
Merge pull request #7923 from hugovk/release-notes
...
Add type hints to release notes
2024-04-01 13:47:10 +11:00
Hugo van Kemenade
9f5d6e0c31
Fix type hint
...
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-03-31 10:02:23 -06:00
Hugo van Kemenade
7b2320b50f
Fix typos
2024-03-31 15:57:20 +03:00
Hugo van Kemenade
ed5cd18d9c
Always return fresh not-yet-loaded image for hopper(None)
2024-03-31 15:07:15 +03:00
Andrew Murray
46b0b0e57d
Merge branch 'main' into types-cms2
2024-03-31 07:22:40 +11:00
Hugo van Kemenade
a6c7a04c00
Merge pull request #7856 from radarhere/docs
...
Corrected exiv2.org links
2024-03-30 22:19:57 +02:00
Andrew Murray
328052730d
Merge branch 'main' into hopper-lru-cache
2024-03-30 20:20:51 +11:00
Hugo van Kemenade
a4e5dc219c
Merge pull request #7818 from nulano/bugreport
2024-03-30 11:13:02 +02:00
Hugo van Kemenade
c5eb7c7c29
Merge pull request #7918 from radarhere/convert
2024-03-30 11:12:05 +02:00
Ondrej Baranovič
6b0a79ce57
sort the parameters
2024-03-30 07:33:27 +00:00
Andrew Murray
1ac1540fe3
Combined test_report.py into test_main.py
2024-03-30 07:33:27 +00:00
Andrew Murray
fb6b860172
Added RGB to I;16, I;16L and I;16B conversion
2024-03-30 11:33:55 +11:00
Hugo van Kemenade
d131f1c513
Clarify comments
2024-03-28 22:13:09 +02:00
Andrew Murray
60976c8dbe
Merge branch 'main' into bytes_tests
2024-03-29 06:31:06 +11:00
Nulano
0015e9ce68
expose ImageCms.core.CmsTransform
2024-03-28 17:26:03 +01:00
Nulano
047a0d2a64
do not allow ImageCms.core.CmsProfile to be instantiated directly
2024-03-28 17:24:50 +01:00
Nulano
a1a687c261
add type hints to ImageCms.get_display_profile
2024-03-28 17:23:54 +01:00
Nulano
24ed5db2d1
check type given to ImageCms.core.profile_tobytes instead of crashing
2024-03-28 17:23:54 +01:00
Hugo van Kemenade
c2904b83b5
Merge pull request #7884 from radarhere/mpo
2024-03-28 18:13:57 +02:00
Hugo van Kemenade
d734c8b702
Merge pull request #7888 from radarhere/convert_rgb
2024-03-28 18:11:12 +02:00
Hugo van Kemenade
6464d5cf91
Merge pull request #7894 from radarhere/fits_gzip
2024-03-28 18:09:55 +02:00