Commit Graph

1830 Commits

Author SHA1 Message Date
Hugo van Kemenade
779fb4975b
Merge pull request #6270 from radarhere/samples_per_pixel
Adjust BITSPERSAMPLE to match SAMPLESPERPIXEL
2022-05-05 14:22:19 +03:00
Andrew Murray
4dc1a55f65 Adjust BITSPERSAMPLE to match SAMPLESPERPIXEL 2022-05-04 22:11:10 +10:00
Andrew Murray
886fcbe3d6 Do not open images with zero or negative height 2022-05-04 21:25:40 +10:00
Hugo van Kemenade
87c2373265
Merge pull request #6242 from radarhere/ppm_maxval 2022-05-01 21:21:52 +03:00
Andrew Murray
81b473f9d2 Raise ValueError for invalid maxval 2022-04-30 10:37:50 +10:00
Andrew Murray
a50c3957df Updated URL 2022-04-27 22:28:10 +10:00
axt-one
9fb0087ec2 modified screencapture option in ImageGrab.grab() 2022-04-26 18:04:08 +09:00
Andrew Murray
bcded33cee
Merge pull request #6195 from hugovk/cleanup
Cleanup: various
2022-04-26 18:51:44 +10:00
Hugo van Kemenade
42a81c4173
Merge pull request #6239 from radarhere/ppm_token
Decode bytes before passing to f-string
2022-04-26 09:14:20 +03:00
Hugo van Kemenade
64880ab8d5
Merge pull request #88 from radarhere/cleanup 2022-04-25 22:06:52 +03:00
Hugo van Kemenade
79e8eba3f8
Docs: spacing
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-04-25 18:13:50 +03:00
Andrew Murray
5d4258e72b Simplified index slicing 2022-04-25 22:52:29 +10:00
Andrew Murray
9490509784
Merge pull request #6237 from hugovk/deprecate-qt5
Deprecate support for Qt 5 (PyQt5 and PySide2)
2022-04-25 10:03:35 +10:00
Sumanth
f77aabf281
Update Image.py docstrings.
Update Image.py file with  a typo in effect_mandelbrot method.
The Typo was in docstrings of the effect_mandelbrot method in Image module of PIL.
2022-04-24 18:42:37 +05:30
Andrew Murray
5867e0bbac Decode bytes before passing to f-string 2022-04-24 15:42:45 +10:00
Hugo van Kemenade
f854d7f7c9 Deprecate support for Qt 5 (PyQt5 and PySide2). Use Qt 6 (PyQt6 or PySide6) instead. 2022-04-22 15:56:11 +03:00
Alex Tedeschi
4279c74289
Increase wait time of temporary file deletion
Increase wait time to 4 seconds from 2 seconds for the deletion of the temporary file made from .show(). The Windows default image viewer at times can take longer than 2 seconds to open and display an image causing the image to never display for the user.
2022-04-18 16:23:50 -04:00
Hugo van Kemenade
bf46c6a648
Fix docstring
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-04-18 07:42:05 +03:00
Andrew Murray
a33dc56560
Merge pull request #6220 from nulano/deprecate-fill
Deprecate FreeTypeFont.getmask2 fill parameter
2022-04-18 08:05:10 +10:00
Ondrej Baranovič
995be34ddb
flip so the conditional is positive
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-04-17 19:27:14 +02:00
Andrew Murray
c87c2cf5b3 Added removal date for fill parameter 2022-04-17 10:03:50 +02:00
Andrew Murray
2a29b2dba1 Document that fill parameter is optional 2022-04-17 10:03:50 +02:00
Hugo van Kemenade
2dd848ca4f
Include deprecation removal date
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-04-17 08:06:28 +03:00
nulano
b4b8249c9d
None is also not a valid value 2022-04-16 17:46:43 +02:00
nulano
a766b5b0d5
deprecate fill in imageFont 2022-04-16 17:07:32 +02:00
Hugo van Kemenade
967c875e6b
Merge pull request #86 from radarhere/cleanup-names
Cleanup: adjust names
2022-04-16 17:13:10 +03:00
Andrew Murray
e4b39d9cc7 Variable in function should be snake_case 2022-04-16 22:15:48 +10:00
Andrew Murray
280b4e9e1a Updated variable name in comment 2022-04-16 22:15:21 +10:00
Andrew Murray
35fbf22250
Merge branch 'main' into cleanup-names 2022-04-16 19:49:40 +10:00
Andrew Murray
535c45717f
Merge pull request #6184 from hugovk/deprecations-helper
Add deprecations helper
2022-04-16 18:58:46 +10:00
Hugo van Kemenade
136d1a89df
Fix deprecation warning
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-04-15 12:08:15 +03:00
Andrew Murray
72a59d298a Variable in function should be snake_case 2022-04-15 19:00:23 +10:00
Hugo van Kemenade
fe4c859fc1 [Private] argument name should be snake_case 2022-04-10 23:55:16 +03:00
Hugo van Kemenade
7fa92c67b1 [Private] class names should be CamelCase 2022-04-10 23:55:16 +03:00
Hugo van Kemenade
d241e38120 [Private] function names should be snake_case 2022-04-10 23:55:16 +03:00
Hugo van Kemenade
d3c9a6504e Variable in function should be snake_case 2022-04-10 23:55:16 +03:00
Hugo van Kemenade
965df6df6f Add missing paramters to docstrings 2022-04-10 23:39:54 +03:00
Hugo van Kemenade
1997c814ab Move useful comment into docstring 2022-04-10 23:39:54 +03:00
Hugo van Kemenade
855c1a12da Use self for first method parameter 2022-04-10 23:39:54 +03:00
Hugo van Kemenade
830da5c41e Rewrite dict creation as dict literal for better performance 2022-04-10 23:39:54 +03:00
Hugo van Kemenade
9d87b26a67 Don't redeclare loop variable 2022-04-10 23:39:54 +03:00
Hugo van Kemenade
b863da6deb Don't redeclare (unused) loop variable 2022-04-10 23:39:54 +03:00
Hugo van Kemenade
ee85e387ba Remove redundant parentheses 2022-04-10 23:39:54 +03:00
Hugo van Kemenade
6a648c9ce7 Add comma to make a tuple 2022-04-10 23:39:54 +03:00
Hugo van Kemenade
a9707e0a6f Remove redundant regex escapes 2022-04-10 23:39:54 +03:00
Hugo van Kemenade
c9acb9b387
Update docstring
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2022-04-10 19:27:57 +03:00
Hugo van Kemenade
13994d4b36 More f-strings 2022-04-10 17:56:42 +03:00
Hugo van Kemenade
74ccda3aff Simplify chained comparison 2022-04-10 17:50:17 +03:00
Hugo van Kemenade
935bdfa516 Use triple-quoted docstrings 2022-04-10 17:47:32 +03:00
Hugo van Kemenade
63f64de8b5
Merge pull request #6188 from radarhere/point 2022-04-08 20:05:30 +03:00