Commit Graph

4634 Commits

Author SHA1 Message Date
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
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
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
Yay295
0d86da54bc
add typing to "ims" in test_image_fromqimage.py
Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com>
2024-03-27 14:02:02 -05:00
pre-commit-ci[bot]
26a212126f [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-27 15:57:36 +00:00
Yay295
9c6b30560e use setup_module() to open images so they aren't opened if skipped 2024-03-27 10:53:07 -05:00
Andrew Murray
6ca8bfb253
Merge pull request #7897 from hugovk/flake8-pyi
Type hints: Add PYI (flake8-pyi) to Ruff and fix errors
2024-03-27 19:58:53 +11:00
Andrew Murray
142473c7b4 Support GZIP_1 compression 2024-03-26 21:29:28 +11:00
Andrew Murray
e79d1746f2 Support conversion from RGB to La 2024-03-26 19:57:17 +11:00
Andrew Murray
ab8f465f1a Use transparency info when converting from RGB to LA 2024-03-26 19:55:22 +11:00
scaramallion
7ca9bddf93
Update Tests/test_file_jpeg2k.py
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-25 20:13:45 +11:00
pre-commit-ci[bot]
901c13c4b1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-03-24 04:47:28 +00:00
scaramallion
ce060a8e8b Fix 9-bit JPEG 2000 images not using I;16 2024-03-24 15:40:11 +11:00
Hugo van Kemenade
20d8095439 Fix: PYI041 Use float instead of int | float 2024-03-23 20:52:50 +02:00
Hugo van Kemenade
6ed952b510 Fix: PYI024 Use typing.NamedTuple instead of collections.namedtuple 2024-03-23 20:52:50 +02:00
mergify[bot]
759630fbaf
Merge pull request #7891 from radarhere/kmeans
Raise ValueError if kmeans is negative
2024-03-22 22:02:42 +00:00
Andrew Murray
47040c7b35 Test positive and zero kmeans 2024-03-22 23:53:07 +11:00
Andrew Murray
3004c46683 Block saving TIFF tag OSUBFILETYPE using libtiff 2024-03-22 23:43:55 +11:00
Andrew Murray
171e497e05 Raise ValueError if kmeans is negative 2024-03-22 17:36:04 +11:00
Hugo van Kemenade
ca973709a0
Merge pull request #7882 from radarhere/ppm 2024-03-21 18:24:54 +02:00
Hugo van Kemenade
9d3c8d54b4
Merge pull request #7870 from radarhere/j2k_pclr 2024-03-21 18:24:45 +02:00
Hugo van Kemenade
3bbc865afc
Merge pull request #7872 from radarhere/webp_alpha_quality 2024-03-21 18:20:40 +02: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
Andrew Murray
8b6a182815 Support conversion from RGB to RGBa 2024-03-21 16:25:40 +11:00
Andrew Murray
75a206bf58 Added conversion from RGB to RGBa and La 2024-03-20 08:57:06 -05: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
Andrew Murray
a78ed9595f Determine size from markers, not EXIF data 2024-03-16 18:40:16 +11:00
Andrew Murray
3ba8eb3b7e Raise a ValueError for negative values when loading P1-P3 PPM images 2024-03-16 12:29:21 +11:00
Andrew Murray
d2453250f1 Fixed joined corners for rounded_rectangle() non-integer dimensions 2024-03-15 23:58:07 +11:00
Andrew Murray
64c8c27271 Added alpha_quality argument when saving 2024-03-13 18:55:29 +11:00
Andrew Murray
f128d47e15 Added reading of JPEG2000 palettes 2024-03-12 19:30:23 +11:00
Andrew Murray
54d329b192 Merge branch 'main' into import 2024-03-12 12:01:50 +11: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