Andrew Murray 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ca9f4f8304 
							
						 
					 
					
						
						
							
							Merge branch 'main' into imagegrab  
						
						
						
					 
					
						2025-03-30 21:53:23 +11:00 
						 
				 
			
				
					
						
							
							
								Hugo van Kemenade 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2579973815 
							
						 
					 
					
						
						
							
							Merge pull request  #8506  from radarhere/emf_records  
						
						... 
						
						
						
						Skip failing records when rendering WMF images 
						
					 
					
						2025-03-29 18:19:10 +02:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							422c0f607d 
							
						 
					 
					
						
						
							
							Use default tp_flags  
						
						
						
					 
					
						2025-02-09 16:03:38 +11:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							bfa2d64e0e 
							
						 
					 
					
						
						
							
							Use member names to initialize PyTypeObjects  
						
						
						
					 
					
						2025-02-09 16:02:50 +11:00 
						 
				 
			
				
					
						
							
							
								Aleksandr Karpinskii 
							
						 
					 
					
						
						
						
						
							
						
						
							e7ae4aaad0 
							
						 
					 
					
						
						
							
							Use Py_RETURN_NONE macro when possible  
						
						
						
					 
					
						2025-01-27 18:17:03 +11:00 
						 
				 
			
				
					
						
							
							
								Nulano 
							
						 
					 
					
						
						
						
						
							
						
						
							2ea3ea94a1 
							
						 
					 
					
						
						
							
							Skip failing WMF records on 32-bit Windows  
						
						
						
					 
					
						2024-12-26 22:06:07 +01:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							62b7cb62f4 
							
						 
					 
					
						
						
							
							Fixed indentation  
						
						
						
					 
					
						2024-12-26 19:06:23 +11:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							acba5c47f8 
							
						 
					 
					
						
						
							
							Lint fix  
						
						
						
					 
					
						2024-11-08 08:26:16 +11:00 
						 
				 
			
				
					
						
							
							
								Ondrej Baranovič 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a6c941ac2c 
							
						 
					 
					
						
						
							
							Do not load GetWindowDpiAwarenessContext until its needed  
						
						... 
						
						
						
						Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com> 
						
					 
					
						2024-11-07 22:22:02 +01:00 
						 
				 
			
				
					
						
							
							
								Nulano 
							
						 
					 
					
						
						
						
						
							
						
						
							4b8867069b 
							
						 
					 
					
						
						
							
							Fix GetWindowDpiAwarenessContext NULL check  
						
						
						
					 
					
						2024-11-07 22:06:28 +01:00 
						 
				 
			
				
					
						
							
							
								pre-commit-ci[bot] 
							
						 
					 
					
						
						
						
						
							
						
						
							288d77efd6 
							
						 
					 
					
						
						
							
							[pre-commit.ci] auto fixes from pre-commit.com hooks  
						
						... 
						
						
						
						for more information, see https://pre-commit.ci  
						
					 
					
						2024-11-07 20:46:01 +00:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a44b3067b0 
							
						 
					 
					
						
						
							
							Fallback to PER_MONITOR_AWARE if GetWindowDpiAwarenessContext is not available  
						
						... 
						
						
						
						Co-authored-by: Ondrej Baranovič <ondreko.tiba@gmail.com> 
						
					 
					
						2024-11-08 07:45:29 +11:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							7763350f07 
							
						 
					 
					
						
						
							
							Fallback to PER_MONITOR_AWARE  
						
						
						
					 
					
						2024-11-08 07:30:09 +11:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							9622266c2a 
							
						 
					 
					
						
						
							
							Use DPI awareness from window  
						
						
						
					 
					
						2024-11-05 18:33:25 +11:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							607acbf95e 
							
						 
					 
					
						
						
							
							Allow window to be supplied for ImageGrab.grab() on Windows  
						
						
						
					 
					
						2024-11-05 07:05:39 +11:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							b4ba466541 
							
						 
					 
					
						
						
							
							Do not skip failing records on 32-bit  
						
						
						
					 
					
						2024-10-27 07:03:35 +11:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							ce4059171c 
							
						 
					 
					
						
						
							
							Skip failing records when rendering  
						
						
						
					 
					
						2024-10-26 18:41:05 +11:00 
						 
				 
			
				
					
						
							
							
								pre-commit-ci[bot] 
							
						 
					 
					
						
						
						
						
							
						
						
							2973b041c7 
							
						 
					 
					
						
						
							
							[pre-commit.ci] auto fixes from pre-commit.com hooks  
						
						... 
						
						
						
						for more information, see https://pre-commit.ci  
						
					 
					
						2024-07-16 12:58:04 +00:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							fb21c50fb6 
							
						 
					 
					
						
						
							
							Restore original thread state  
						
						
						
					 
					
						2024-05-20 07:42:28 +10:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							3062ec4dd2 
							
						 
					 
					
						
						
							
							Fix type errors  
						
						
						
					 
					
						2024-05-16 22:55:03 +10:00 
						 
				 
			
				
					
						
							
							
								Yay295 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							b9307f08d1 
							
						 
					 
					
						
						
							
							remove unused variable  
						
						
						
					 
					
						2024-04-23 12:02:25 -05:00 
						 
				 
			
				
					
						
							
							
								Yay295 
							
						 
					 
					
						
						
						
						
							
						
						
							e7398c7888 
							
						 
					 
					
						
						
							
							update PyTypeObject slot names  
						
						... 
						
						
						
						tp_print was renamed to tp_vectorcall_offset with Python 3.8, and tp_compare was renamed to tp_as_async with Python 3.5.
tp_size has always been tp_basicsize; I don't know why that one was wrong. 
						
					 
					
						2023-07-02 00:52:08 -05:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							f67fcf131a 
							
						 
					 
					
						
						
							
							If the clipboard fails to open on Windows, wait and try again  
						
						
						
					 
					
						2023-05-08 11:58:05 +10:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							494a3bcf2b 
							
						 
					 
					
						
						
							
							Release buffer on error  
						
						... 
						
						
						
						Co-authored-by: Ondrej Baranovič <nulano@nulano.eu> 
						
					 
					
						2023-03-06 10:00:51 +11:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							b970eb9e5d 
							
						 
					 
					
						
						
							
							Added memoryview support to Dib.frombytes()  
						
						
						
					 
					
						2023-03-04 17:18:59 +11:00 
						 
				 
			
				
					
						
							
							
								Hugo van Kemenade 
							
						 
					 
					
						
						
						
						
							
						
						
							826c98156c 
							
						 
					 
					
						
						
							
							Remove unused listwindows functions for Windows/3.12 support  
						
						
						
					 
					
						2023-02-11 16:36:52 +02:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							f2ee5d6697 
							
						 
					 
					
						
						
							
							Use METH_VARARGS flags  
						
						
						
					 
					
						2021-05-11 20:16:44 +10:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							46b7e86bab 
							
						 
					 
					
						
						
							
							Format with ClangFormat  
						
						
						
					 
					
						2021-01-03 14:17:51 +11:00 
						 
				 
			
				
					
						
							
							
								Hugo van Kemenade 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2b87ccae89 
							
						 
					 
					
						
						
							
							Merge pull request  #5026  from radarhere/unused  
						
						... 
						
						
						
						Removed unused C methods 
						
					 
					
						2020-11-18 14:46:36 +02:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							8593e17b05 
							
						 
					 
					
						
						
							
							Removed unused methods  
						
						
						
					 
					
						2020-11-02 20:58:51 +11:00 
						 
				 
			
				
					
						
							
							
								nulano 
							
						 
					 
					
						
						
						
						
							
						
						
							26cfe04fea 
							
						 
					 
					
						
						
							
							fix PY_SSIZE_T_CLEAN in display.c  
						
						
						
					 
					
						2020-10-14 21:12:00 +01:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							7e4db0a80e 
							
						 
					 
					
						
						
							
							Prefix other header includes  
						
						
						
					 
					
						2020-09-22 13:33:05 +10:00 
						 
				 
			
				
					
						
							
							
								Axel Huebl 
							
						 
					 
					
						
						
						
						
							
						
						
							f79379ed7c 
							
						 
					 
					
						
						
							
							Imaging.h: confusion with system  
						
						... 
						
						
						
						The file `libImaging/Imaging.h` gets installed flat on
Ubuntus into the public Python includes.
When building a newer version of Pillow from source and
hinting the Python includes "too early" in includes, e.g.
in package managers, this can confuse the two files and
pick up the external file over the internal one. With
different versions, this mismatch can lead to build errors,
e.g. undefined macros.
The most robust way to avoid this is to pre-fix the internal
include accordingly, so that the relative path to the including
file has to match as well. 
						
					 
					
						2020-09-17 18:06:45 +10:00 
						 
				 
			
				
					
						
							
							
								Hugo van Kemenade 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7b759e160a 
							
						 
					 
					
						
						
							
							Merge pull request  #4615  from nulano/clipboard-png  
						
						
						
					 
					
						2020-06-21 18:56:04 +03:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							c1d9931adc 
							
						 
					 
					
						
						
							
							Added braces  
						
						
						
					 
					
						2020-05-10 19:56:36 +10:00 
						 
				 
			
				
					
						
							
							
								nulano 
							
						 
					 
					
						
						
						
						
							
						
						
							1656edaf41 
							
						 
					 
					
						
						
							
							fix docs compliance for CF_HDROP  
						
						
						
					 
					
						2020-05-09 10:44:19 +02:00 
						 
				 
			
				
					
						
							
							
								nulano 
							
						 
					 
					
						
						
						
						
							
						
						
							5728662c7f 
							
						 
					 
					
						
						
							
							add support for CF_DIBV5, CF_HDROP, and 'PNG' in ImageGrab.grabclipboard() on win32  
						
						
						
					 
					
						2020-05-09 09:40:58 +02:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							ae43af61da 
							
						 
					 
					
						
						
							
							Replaced tabs with spaces  
						
						
						
					 
					
						2020-05-01 22:08:57 +10:00 
						 
				 
			
				
					
						
							
							
								Hugo 
							
						 
					 
					
						
						
						
						
							
						
						
							dda6145fce 
							
						 
					 
					
						
						
							
							Since Python 3.3 IOError and WindowsError have been merged into OSError  
						
						
						
					 
					
						2020-04-10 12:57:29 +03:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							6473c237c0 
							
						 
					 
					
						
						
							
							Fixed typo  
						
						
						
					 
					
						2020-03-24 19:52:27 +11:00 
						 
				 
			
				
					
						
							
							
								nulano 
							
						 
					 
					
						
						
						
						
							
						
						
							f9c74825a6 
							
						 
					 
					
						
						
							
							xcb screengrab fixes  
						
						
						
					 
					
						2020-03-24 19:40:54 +11:00 
						 
				 
			
				
					
						
							
							
								nulano 
							
						 
					 
					
						
						
						
						
							
						
						
							3c39e6fcf6 
							
						 
					 
					
						
						
							
							xcb screengrab support  
						
						
						
					 
					
						2020-03-24 19:29:44 +11:00 
						 
				 
			
				
					
						
							
							
								Hugo 
							
						 
					 
					
						
						
						
						
							
						
						
							af770a6c55 
							
						 
					 
					
						
						
							
							Drop support for EOL Python 2.7  
						
						
						
					 
					
						2019-10-07 14:30:59 +03:00 
						 
				 
			
				
					
						
							
							
								nulano 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ee5c134b33 
							
						 
					 
					
						
						
							
							Merge branch 'master' into dpi_fix  
						
						
						
					 
					
						2019-09-27 09:11:01 +02:00 
						 
				 
			
				
					
						
							
							
								nulano 
							
						 
					 
					
						
						
						
						
							
						
						
							6a2d8f8da0 
							
						 
					 
					
						
						
							
							rename parameter, add note to docs  
						
						
						
					 
					
						2019-09-20 17:35:08 +02:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							19426417ff 
							
						 
					 
					
						
						
							
							Reverted unrelated change  
						
						
						
					 
					
						2019-08-17 20:38:54 +10:00 
						 
				 
			
				
					
						
							
							
								nulano 
							
						 
					 
					
						
						
						
						
							
						
						
							fa6b80fddf 
							
						 
					 
					
						
						
							
							add option to capture all monitors on Windows  
						
						
						
					 
					
						2019-08-15 20:03:33 +10:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							d46f81afba 
							
						 
					 
					
						
						
							
							Windows Screengrab DPI fix improvements ( #2 )  
						
						... 
						
						
						
						* Load User32 after possible return
* Removed unused setting of variable 
						
					 
					
						2019-08-12 18:51:52 +10:00 
						 
				 
			
				
					
						
							
							
								nulano 
							
						 
					 
					
						
						
						
						
							
						
						
							cacbdc680c 
							
						 
					 
					
						
						
							
							override Win10 dpi scaling in screengrab  
						
						... 
						
						
						
						(cherry picked from commit 45ead62d6431c8339613e8ced85b705c80a7fdc9) 
						
					 
					
						2019-08-12 18:51:52 +10:00 
						 
				 
			
				
					
						
							
							
								Andrew Murray 
							
						 
					 
					
						
						
						
						
							
						
						
							70038bd71e 
							
						 
					 
					
						
						
							
							Added option to include layered windows in ImageGrab.grab on Windows  
						
						
						
					 
					
						2019-04-26 20:09:46 +10:00