Commit Graph

17366 Commits

Author SHA1 Message Date
Yay295
a4aac18ba3
Merge pull request #13 from radarhere/bytes_tests
Simplify tests
2024-03-27 09:37:01 -05: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
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
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
c56c8901b7 handle I;16 native endianness on big-endian machine 2024-03-11 11:37:48 -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
Yay295
87ed513f91 support "RGBa" and "La" in hopper() test helper 2024-03-11 11:30:59 -05:00
Hugo van Kemenade
9ad22fc96a
Merge pull request #7753 from radarhere/eps 2024-03-11 17:51:29 +02:00
Hugo van Kemenade
94f319cd35
Merge pull request #7706 from radarhere/psd 2024-03-11 17:51:06 +02:00
Hugo van Kemenade
fc30eba882
Merge pull request #7791 from radarhere/imageshow 2024-03-11 17:48:31 +02:00
Hugo van Kemenade
93bf9912e2
Merge pull request #7788 from radarhere/gif_disposal 2024-03-11 17:48:13 +02:00
Hugo van Kemenade
350d7f2b01
Merge pull request #7806 from radarhere/imagefont 2024-03-11 17:43:40 +02:00
Hugo van Kemenade
1b6e68eaae
Merge pull request #7823 from radarhere/png_iccp 2024-03-11 17:42:22 +02:00
Hugo van Kemenade
4e92ee0818
Merge pull request #7840 from radarhere/write_undefined 2024-03-11 17:41:13 +02:00
Hugo van Kemenade
9fec5d581d
Merge pull request #7842 from radarhere/exif 2024-03-11 17:40:36 +02:00
Hugo van Kemenade
7b80352490
Merge pull request #7853 from radarhere/libxcb 2024-03-11 17:39:20 +02:00
Hugo van Kemenade
9d5563c3b7
Merge pull request #7749 from radarhere/libimagequant 2024-03-11 17:39:10 +02:00
Hugo van Kemenade
8c36b98ff6
Merge pull request #7815 from radarhere/giflib_macos 2024-03-11 17:38:56 +02:00
Hugo van Kemenade
89d8be5b94
Merge pull request #7821 from radarhere/apng 2024-03-11 17:38:48 +02:00
Hugo van Kemenade
3cdd49f31f
Merge pull request #7801 from radarhere/codecs 2024-03-11 17:38:12 +02:00
Hugo van Kemenade
d8c8075061
Merge pull request #7797 from radarhere/tga_palette 2024-03-11 17:37:20 +02:00
Hugo van Kemenade
f543b034bd
Merge pull request #7798 from radarhere/ico 2024-03-11 17:36:31 +02:00
Hugo van Kemenade
e09366307c
Merge pull request #7748 from radarhere/test_font_leaks 2024-03-11 17:35:26 +02:00
Hugo van Kemenade
80fd507335
Merge pull request #7713 from radarhere/load 2024-03-11 17:34:38 +02:00
Andrew Murray
4a7a64292e Update CHANGES.rst [ci skip] 2024-03-11 22:23:21 +11:00
Hugo van Kemenade
28908cb15c
Merge pull request #7827 from radarhere/macos_sdk_warnings 2024-03-11 12:39:56 +02:00
Andrew Murray
00d28bd84d
Merge pull request #7768 from radarhere/libpng
Updated libpng to 1.6.43
2024-03-10 06:50:05 +11:00
Andrew Murray
e42528e139
Merge pull request #7866 from python-pillow/renovate/mypy-1.x
Update dependency mypy to v1.9.0
2024-03-09 22:35:44 +11:00
Andrew Murray
dfc6443c91
Merge branch 'main' into libpng 2024-03-09 20:17:27 +11:00
Hugo van Kemenade
90767afa55
Merge pull request #7752 from radarhere/libjpeg-turbo 2024-03-09 11:16:21 +02:00
Hugo van Kemenade
62f426c149
Merge pull request #7746 from radarhere/zlib 2024-03-09 11:14:58 +02:00
renovate[bot]
f886766e3a
Update dependency mypy to v1.9.0 2024-03-09 08:45:29 +00:00
Andrew Murray
761c430294 Update CHANGES.rst [ci skip] 2024-03-09 17:58:16 +11:00
Richard Barnes
38cec87c93
Fix shift-sign issue in Convert.c (#7838)
* Fix shift-sign issue in Convert.c

Fixes
```
libImaging/Convert.c:513:25: error: signed shift result (0xFF000000) sets the sign bit of the shift expression's type ('int') and becomes negative [-Werror,-Wshift-sign-overflow]
    UINT32 trns = (0xff << 24) | ((b & 0xff) << 16) | ((g & 0xff) << 8) | (r & 0xff);
                   ~~~~ ^  ~~
```

---------

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-09 17:52:00 +11:00
Andrew Murray
89648ae282
Merge branch 'main' into libpng 2024-03-09 12:19:40 +11:00
Andrew Murray
ae2abc19b7
Merge branch 'main' into libjpeg-turbo 2024-03-09 12:16:53 +11:00
Andrew Murray
e0fe7e54f2
Merge branch 'main' into zlib 2024-03-09 12:16:01 +11:00
Andrew Murray
3f5721d0b0
Merge pull request #7843 from hugovk/refactor-winbuild
winbuild: Refactor dependency versions into constants
2024-03-09 12:14:01 +11:00
Andrew Murray
a364d9c04a
Merge pull request #7862 from hugovk/update-platform-support
Update CI targets on GitHub Actions
2024-03-09 10:40:44 +11:00
Hugo van Kemenade
984893576f
Remove unused pillow_dir
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-08 15:12:47 -07:00
Hugo van Kemenade
2833e367f5
Remove comma
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2024-03-08 16:31:55 +02:00
Jeffrey A. Clark (Alex)
658d15971e
Merge pull request #7861 from python-pillow/pil-given-to-pillow
Update "What about PIL?" section
2024-03-07 17:03:45 -05:00