Commit Graph

2829 Commits

Author SHA1 Message Date
Hugo van Kemenade
73707eb5f7
Merge pull request #6943 from hugovk/add-3.12-dev
Test Python 3.12-dev
2023-02-12 07:21:27 +02:00
Hugo van Kemenade
79765d5b9c
Merge pull request #6939 from radarhere/exif
Resolves https://github.com/python-pillow/Pillow/issues/6932
2023-02-11 23:39:32 +02:00
Hugo van Kemenade
826c98156c Remove unused listwindows functions for Windows/3.12 support 2023-02-11 16:36:52 +02:00
Andrew Murray
20daa1d049 Fixed typo 2023-02-11 20:49:09 +11:00
Andrew Murray
bb524018d3 Raise an error when EXIF data is too long 2023-02-11 16:20:27 +11:00
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
6d09f3382d
Merge pull request #6902 from radarhere/open 2023-01-21 19:06:07 +02:00
Andrew Murray
535d886bf9
Merge pull request #6905 from hugovk/deprecate-pillow-11
Handling for deprecations to be removed in Pillow 11
2023-01-21 07:06:59 +11:00
Hugo van Kemenade
9b660db62d Handling for deprecations to be removed in Pillow 11 2023-01-20 14:35:11 +02:00
Andrew Murray
bf0abdca27 Do not retry past formats when loading all formats for the first time 2023-01-19 08:06:30 +11:00
Hugo van Kemenade
0b53853941
Merge pull request #6893 from radarhere/formats 2023-01-18 22:53:17 +02:00
Hugo van Kemenade
407f0f94c1
Merge pull request #6892 from radarhere/init 2023-01-18 22:50:41 +02:00
Andrew Murray
3360b5a756 Stop reading when a line becomes too long 2023-01-15 19:49:13 +11:00
Hugo van Kemenade
50f5eade47
Merge pull request #6895 from python-pillow/alex-clark-jeffrey-a-clark-alex
Alex Clark -> Jeffrey A. Clark (Alex)
2023-01-14 21:51:27 +02:00
Alex Clark
55ce251a89 Alex Clark -> Jeffrey A. Clark (Alex)
I'm still "Alex", just on a Jeffrey A. Clark roll lately.
2023-01-14 12:36:22 -05:00
Andrew Murray
5f9285eea6 Do not retry specified formats if they failed 2023-01-14 23:22:35 +11:00
Andrew Murray
c5d1b15824 Do not unintentionally load TIFF format at first 2023-01-14 22:45:29 +11:00
Andrew Murray
e48aead015 Allow writing IFDRational to BYTE tag 2023-01-13 21:02:42 +11:00
Andrew Murray
a75a1a9514 Updated raqm to 0.10.0 2023-01-12 11:49:08 +11:00
Andrew Murray
eb89e3a2b1
Merge pull request #6874 from hugovk/invalid-box-blur-filter
Raise ValueError for BoxBlur filter with negative radius
2023-01-12 08:25:10 +11:00
Andrew Murray
173b65d095 Raise ValueError during filter operation as well 2023-01-11 20:02:10 +11:00
Andrew Murray
7f57c93b89 Only read when necessary 2023-01-11 08:50:20 +11:00
Hugo van Kemenade
08c7b17e23 Raise ValueError for BoxBlur filter with negative radius 2023-01-09 19:04:55 +02:00
Hugo van Kemenade
8d5eb71d26 Use enumerate 2023-01-08 13:47:46 +02:00
Hugo van Kemenade
2df4865e42 Use 'key in mydict' instead of 'key in mydict.keys()' 2023-01-08 13:47:46 +02:00
Hugo van Kemenade
b2b8c833aa Use single isinstance call for multiple types 2023-01-08 13:47:45 +02:00
Andrew Murray
f30eb38e31
Merge pull request #6868 from radarhere/filters
Refer to Resampling enum
2023-01-08 05:33:40 +11:00
Andrew Murray
246f6fa46a
Simply attribute reference
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2023-01-08 04:45:16 +11:00
Andrew Murray
a22f6ddefa
Merge pull request #6761 from javidcf/patch-1
Support arbitrary number of loaded modules on Windows
2023-01-07 17:50:57 +11:00
Andrew Murray
d3d7566d9a Refer to Resampling enum 2023-01-07 11:27:43 +11:00
Javier Dehesa
2cc40cc7f4
Fix tcl/tk loading error handling
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-01-05 00:05:54 +00:00
Javier Dehesa
da39e4e38e
Fix tcl/tk loading error handling
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-01-05 00:05:36 +00:00
Javier Dehesa
e945ab382a
Fix tcl/tk loading error handling
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-01-05 00:04:50 +00:00
Andrew Murray
ea9a1b84aa LOAD_TRUNCATED_IMAGES may allow PNG images to open 2023-01-03 14:09:45 +11:00
Andrew Murray
549560cf55 9.5.0.dev0 version bump 2023-01-02 14:03:31 +11:00
Andrew Murray
a5bbab1c1e 9.4.0 version bump 2023-01-02 10:29:07 +11:00
Andrew Murray
d4d981dc9f Updated size parameter descriptions 2023-01-02 08:41:50 +11:00
Andrew Murray
51d95add6a Replaced IOError with OSError 2023-01-01 07:03:09 +11:00
Eric Soroos
1c57ab8429 Return a PyError instead of a fake fterror.
* Update Tests to IOError rather than OSError
2023-01-01 07:03:09 +11:00
Eric Soroos
87d1770c18 Fix null pointer dereference crash with malformed font 2023-01-01 07:03:09 +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
b4347daa3c Merge branch 'main' into enum 2022-12-31 09:37:56 +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
68fdd2a9e7 Further improve exception traceback readability 2022-12-30 14:24:28 +11:00
Hugo van Kemenade
2ae55ccbda Improve exception traceback readability 2022-12-30 00:07:52 +02:00
Hugo van Kemenade
9ae53cf6ae
Merge pull request #6840 from radarhere/ifd1 2022-12-29 23:38:09 +02:00
Hugo van Kemenade
1ba19b1105
Merge pull request #6800 from radarhere/int_ascii
Resolves https://github.com/python-pillow/Pillow/issues/6799
2022-12-29 23:36:33 +02:00
Andrew Murray
1e3f3ab596 Do not attempt to read IFD1 if absent 2022-12-29 21:52:09 +11:00
Hugo van Kemenade
e107af41a9
Merge pull request #6783 from radarhere/grabclipboard
If available, use wl-paste or xclip for grabclipboard() on Linux
2022-12-29 12:01:24 +02:00