| 
							
							
								 Andrew Murray | 66ab7e0de2 | Added type hints | 2024-06-01 21:31:53 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | afc7d8d0b0 | Added type hints | 2024-05-30 17:17:22 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 0f1a0fc501 | Improved consistency of XMP handling | 2024-05-20 23:11:50 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 7554e2cfbf | Use monkeypatch | 2024-05-17 08:44:04 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 1036aa74a7 | Added Image.WARN_POSSIBLE_FORMATS | 2024-05-16 17:47:35 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | db4714c280 | Removed helper.py modes | 2024-05-12 21:20:46 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 86fb383739 | Corrected big-endian check | 2024-04-27 14:08:36 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | f7c9327264 | Merge branch 'bgr' into bgr-helper | 2024-04-26 08:13:38 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | f56a2c9b7e | Merge branch 'main' into bgr | 2024-04-26 07:11:04 +10:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 0099de0ed9 | Add deprecation helper for Image.new with BGR; modes | 2024-04-25 16:00:14 +03:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 5faebadd56 | BGR;16 does not fail on big-endian | 2024-04-24 21:05:59 -05:00 |  | 
			
				
					| 
							
							
								 Yay295 | 98510570e6 | ignore BGR;15/16 test failure on big-endian | 2024-04-20 10:13:38 -05:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 5c960d6abc | rename "image_mode_names" to "modes" | 2024-04-20 09:03:19 -05:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 5573ec7490 | use hopper() for test_getdata_putdata() | 2024-04-20 09:02:49 -05:00 |  | 
			
				
					| 
							
							
								 Yay295 | fe79ae5653 | get pixel size by counting bytes in 1x1 image | 2024-04-20 09:01:46 -05:00 |  | 
			
				
					| 
							
							
								 Yay295 | 5a4b771fb0 | move image mode info variables to helper.py | 2024-04-20 09:01:38 -05:00 |  | 
			
				
					| 
							
							
								 Yay295 | 139245a3db | use namedtuple for image mode info | 2024-04-20 09:01:37 -05:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | d431c97ba3 | Deprecate BGR;15, BGR;16 and BGR;24 | 2024-04-15 19:28:52 +10: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 |  | 
			
				
					| 
							
							
								 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 | 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 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 3cdd49f31f | Merge pull request #7801 from radarhere/codecs | 2024-03-11 17:38:12 +02:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 6d78d42769 | Added type hints | 2024-03-02 13:12:17 +11:00 |  | 
			
				
					| 
							
							
								 Yay295 | e6785576b1 | add typing to test_p_from_rgb_rgba() Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 2024-02-26 08:47:30 -06:00 |  | 
			
				
					| 
							
							
								 Yay295 | fe85947f16 | use single string for parameter names instead of tuple of strings Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> | 2024-02-26 07:47:13 -06:00 |  | 
			
				
					| 
							
							
								 Yay295 | ece34104cb | parametrize test_p_from_rgb_rgba() | 2024-02-26 01:02:25 -06:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 3199c0ea40 | Decoder and encoders subclass PyDecoder and PyEncoder | 2024-02-15 20:24:08 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 50e9a92c98 | Merge pull request #7794 from radarhere/type_hints Added type hints to additional tests | 2024-02-13 22:22:24 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 4ce06aac3b | Added type hints | 2024-02-12 23:01:44 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 530512f699 | Merge branch 'main' into type-hints-replace-io.BytesIO | 2024-01-31 22:58:53 +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 | 61d47c3dfa | More support for arbitrary os.PathLike | 2024-01-27 14:06:06 +02:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 53c3cd9f8e | isort Tests | 2024-01-20 13:23:03 +02:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | d71cf168ee | Merge pull request #7566 from radarhere/exit | 2023-12-31 17:37:43 +02:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 43b2f61e79 | Add 'from __future__ import annotations' using Ruff/isort | 2023-12-21 13:13:31 +02:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 5431b15bd2 | Do not assign new fp attribute to image when exiting context manager | 2023-11-24 15:19:19 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 5f33175b20 | Fixed checking that no debug messages were logged | 2023-11-17 08:37:46 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 67e1253202 | Do not assign new fp attribute to image when closing | 2023-11-17 08:32:25 +11:00 |  | 
			
				
					| 
							
							
								 Raphael Vieira Rossi | b25ece364b | fix: check object Image has attribute 'fp' when closes | 2023-11-16 16:46:11 -03:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 5eea6ed633 | Replace 'assert False' with pytest.fail() | 2023-11-12 22:30:28 +02:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 91f115bead | Fixed im.frombytes() for images with a zero dimension | 2023-10-25 08:52:26 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 5071692039 | Fixed Image.frombytes() for images with a zero dimension | 2023-10-25 08:52:06 +11:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 5f04b3d278 | Merge pull request #7289 from radarhere/undefined_palette | 2023-10-05 09:31:02 -06:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | e27d7a6f84 | Changed has_transparency_data() to property | 2023-09-26 20:14:22 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 6bbed1add0 | Added has_transparency_data() | 2023-09-25 20:10:44 +10:00 |  | 
			
				
					| 
							
							
								 Yay295 | 5b6b6346bb | Fix param in test_image.py function | 2023-08-07 09:49:20 -05:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 9979a822c7 | Changed Image mode property to be read-only by default | 2023-07-29 09:28:18 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | fd310512b9 | Set C palette to be empty by default | 2023-07-17 23:04:43 +10:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | c8ec15980b | Remove constants deprecated in 9.1.0 | 2023-04-06 16:11:36 +03:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | ddc4e90235 | Remove im.category and related Image.NORMAL, Image.SEQUENCE, Image.CONTAINER, deprecated in 8.2.0 | 2023-04-06 16:11:36 +03:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 11d100ce5d | Support creating BGR;15, BGR;16 and BGR;24 images | 2023-03-20 00:30:10 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 9e6ae98362 | Dropped support for BGR;32 mode | 2023-03-13 17:31:12 +11:00 |  | 
			
				
					| 
							
							
								![pre-commit-ci[bot]](/avatar/131bb96d326461aea7edbfa1b0e095f7?size=56) 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 | 3e37a919b1 | Prevent register_open from adding duplicates to ID | 2023-01-28 22:43:04 +11:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 7b0008bb82 | Merge pull request #6842 from radarhere/zero Return from ImagingFill early if image has a zero dimension | 2022-12-31 13:23:12 +02:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 2803304763 | Skip timeout checks on slower running valgrind job | 2022-12-31 13:47:07 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 91b01f4cc2 | Return from ImagingFill early if image has a zero dimension | 2022-12-30 16:48:33 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | bcdb208fe2 | Restored Image constants, except for duplicate Resampling attributes | 2022-12-28 09:44:53 +11:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 0934c25686 | Merge pull request #6762 from radarhere/exif_hide_offsets | 2022-12-23 16:05:21 +02:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 9dfba1fe2b | Merge branch 'main' into exif_hide_offsets | 2022-12-22 09:03:11 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 2a86d7353f | Always initialize all plugins in registered_extensions() | 2022-12-19 08:19:15 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 8ada23ed04 | Added IFD1 reading | 2022-12-05 09:09:00 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 3473eb8e7f | Added Exif hide_offsets() | 2022-11-26 15:44:03 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | ddede39932 | Removed blank line | 2022-10-23 14:24:30 +11:00 |  | 
			
				
					| 
							
							
								 Mark Mayo | 69baeccf2e | some pylint warnings Fixed some pylint issues | 2022-10-13 15:20:11 +13:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 9fa421923c | Removed requirement for 256 palette entries | 2022-08-28 15:58:30 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 0ed03d4a58 | Parametrize tests | 2022-08-23 21:41:32 +10:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 8bd7e81b5d | Merge pull request #6352 from radarhere/apply_transparency Added apply_transparency() | 2022-06-11 17:58:10 +03:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 11be163143 | Added apply_transparency() | 2022-06-06 22:47:58 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 4c8aff9798 | Allow remapping P images with RGBA palettes | 2022-06-06 00:12:48 +10:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 27f5c4d8fb | Merge pull request #6176 from radarhere/gif_transparency Improve transparency handling when saving GIF | 2022-05-27 08:31:37 +02:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 99f4623a8d | Remove transparency if it cannot be remapped | 2022-05-21 17:39:37 +10:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 9c9aa9964e | Skip tests unless JPEG 2000 is available | 2022-04-29 19:17:03 +10:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 855c1a12da | Use self for first method parameter | 2022-04-10 23:39:54 +03:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | ae8de77721 | Raise ValueError when trying to save empty image | 2022-03-28 21:18:53 +11:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 9134f07615 | Merge pull request #6134 from radarhere/created_cleanup If an error occurs after creating a file, remove the file | 2022-03-24 08:08:36 +02:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 71c30ed266 | If an error occurs after creating a file, remove the file | 2022-03-14 23:33:45 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 07210e9425 | Handle EXIF data truncated to just the header | 2022-03-12 08:23:40 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | dae1f691c2 | Updated checks that no warnings were raised | 2022-02-21 13:49:01 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | b38a67fa12 | Merge branch 'main' into enum | 2022-02-10 09:52:24 +11:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 0a49ec1cc0 | Merge pull request #5891 from shamrin/stable-jupyter-text-output Keep IPython/Jupyter text/plain output stable | 2022-01-23 10:29:50 +02:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | ddb0a6393f | Added test | 2022-01-18 11:46:29 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | ed8073e846 | Deprecated constants in favour of enums | 2022-01-15 10:07:07 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | b5160591bc | Return an empty bytestring from tobytes() for an empty image | 2022-01-07 16:29:38 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 1998d12bb6 | Added sys import | 2021-12-30 00:11:20 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 4d1d2c9855 | Merge pull request #5807 from DWesl/tkimaging-on-cygwin Use the Windows method to get TCL functions on Cygwin | 2021-12-30 00:08:31 +11:00 |  | 
			
				
					| 
							
							
								 DWesl | 5a41417224 | Skip test_readonly_save on Cygwin. The test seems to require opening a file for reading, mmapping it,
then opening that file for writing.  Windows doesn't allow this. | 2021-11-04 19:48:53 -04:00 |  | 
			
				
					| 
							
							
								 Hugo van Kemenade | 716a0baf74 | Drop support for EOL Python 3.6 | 2021-10-19 15:34:52 +03:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 83864b01cf | Removed Image.show command parameter | 2021-10-18 11:08:51 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 499040491b | Removed Image._showxv | 2021-10-18 11:06:06 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | cd50d468ba | Removed PILLOW_VERSION | 2021-10-18 11:05:53 +11:00 |  | 
			
				
					| 
							
							
								 Andrew Murray | 4038a287ee | Corrected pathlib.Path detection when saving | 2021-07-24 14:21:33 +10:00 |  |