Commit Graph

1342 Commits

Author SHA1 Message Date
luphord
78e971913c fix IFDRational equality 2020-08-28 20:47:16 +10:00
Guillaume Ayoub
45b228e835 Fix exception handling when saving images
The e variable is already used in the for loop, use exc to store the exception.
2020-08-24 21:32:21 +10:00
Hugo van Kemenade
855a28e544
Merge pull request #4866 from radarhere/cmyk_pdf
Corrected inverted PDF CMYK colors
2020-08-23 14:38:06 +03:00
Hugo van Kemenade
27d34d2f13
Merge pull request #4823 from radarhere/close
Do not try to close file pointer if file pointer is empty
2020-08-23 14:26:11 +03:00
Andrew Murray
14af7bb5ac Do not try to close fp if fp is empty 2020-08-15 13:07:14 +10:00
Andrew Murray
a2597a5683 Corrected inverted CMYK colors 2020-08-14 21:12:01 +10:00
Hugo van Kemenade
ef986e376f
Merge branch 'master' into master 2020-08-13 23:58:42 +03:00
Hugo van Kemenade
0d4ba00b56
Merge pull request #4850 from nulano/docs-codefmt 2020-08-13 23:06:53 +03:00
nulano
05ee9ab31c
improve wording, fix lint
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
2020-08-12 22:24:25 +01:00
Hugo van Kemenade
fdc09206d0
Merge pull request #4828 from radarhere/exif_text 2020-08-11 21:52:12 +03:00
nulano
d36850e037 fix docs typos 2020-08-11 02:14:13 +02:00
nulano
6cd0d60315 use code formatting instead of emphasis where applicable [ci skip] 2020-08-11 00:54:12 +02:00
Hugo van Kemenade
cb26b4d40f
Merge branch 'master' into master 2020-08-09 13:57:46 +03:00
Hugo van Kemenade
dd87dd50c0 Update to isort 5 with Black profile support 2020-08-08 22:39:29 +03:00
Navneeth Subramanian
ca3796f4f6
Update src/PIL/ImageOps.py
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-08-07 14:16:07 +09:00
Navneeth Subramanian
665b414033
Update src/PIL/ImageOps.py
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-08-07 14:15:55 +09:00
navneeth
8fad541531 ENH: Autocontrast method enhancement - adding the option to specify mask for contrast computation 2020-08-06 09:00:13 +09:00
Andrew Murray
5da1a8adcf Read EXIF data tEXt chunk into info as bytes instead of string 2020-07-31 17:42:48 +10:00
Andrew Murray
11de331886
Merge pull request #4798 from hugovk/rm-deprecated-notimplemented
Remove long-deprecated Image.py functions
2020-07-24 20:48:20 +10:00
Andrew Murray
908567a718
Capitalisaton
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-07-24 01:04:19 +10:00
Andrew Murray
836dcc5ba0 Document missing attributes 2020-07-23 22:40:02 +10:00
Andrew Murray
265bfef36e Improved documentation 2020-07-21 20:46:50 +10:00
Andrew Murray
56a43a5fa7 Fixed typo 2020-07-21 20:42:42 +10:00
Hugo van Kemenade
0b7077a385
Merge pull request #4788 from samamorgan/master 2020-07-17 11:07:56 +03:00
Hugo van Kemenade
40aefc6ba5 Remove im.offset, deprecated in 2001; and fromstring and tostring, deprecated in 2013 2020-07-17 10:55:20 +03:00
Hugo van Kemenade
e06c7e7667 8.0.0.dev0 version bump 2020-07-16 12:09:19 +03:00
Sam Morgan
e30836be5c Add MIME type to PsdImagePlugin
Resolves #4787
2020-07-15 15:34:26 -07:00
Andrew Murray
f454b24288 Removed domain reference for external method 2020-07-14 22:37:03 +10:00
Andrew Murray
1f652954ba
Merge pull request #4746 from hugovk/rm-soon-eol-3.5
Drop support for EOL Python 3.5
2020-07-14 20:37:51 +10:00
Andrew Murray
291208b581
Merge pull request #4768 from hugovk/rm-deprecated-ImageCms.CmsProfile-attributes
Remove ImageCms.CmsProfile attributes deprecated since 3.2.0
2020-07-12 08:10:34 +10:00
nulano
7ce6a15062 Merge remote-tracking branch 'upstream/master' into refs-animated
# Conflicts:
#	docs/reference/Image.rst
2020-07-11 12:33:36 +02:00
Hugo van Kemenade
4ca7e7e699
Merge pull request #4771 from nulano/refs-misc 2020-07-11 12:42:50 +03:00
Hugo van Kemenade
c2b73796c7
Merge pull request #4773 from nulano/refs-png 2020-07-11 12:42:09 +03:00
nulano
73c5dffb5a fix ImageTransformHandler and ImagePointHandler references 2020-07-11 13:25:10 +10:00
nulano
0083ebb3d4 fix various reference typos 2020-07-11 13:25:10 +10:00
nulano
2ce2fa2dfc Add a period
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2020-07-11 13:23:19 +10:00
nulano
9c277f5c49 document PngImagePlugin constants 2020-07-11 13:23:19 +10:00
joseville1001
d7309b25d4
Update ImageFilter.py
`the` -> `The`
2020-07-10 21:17:08 -04:00
Hugo van Kemenade
fc1f16b616
Merge pull request #4774 from nulano/refs-std 2020-07-10 17:45:04 +03:00
Hugo van Kemenade
384523fab2 Fix PostScript typos 2020-07-10 11:48:02 +03:00
nulano
09a87161a2 fix sys.stdout reference 2020-07-10 00:08:27 +02:00
Hugo van Kemenade
559510b378 Remove attributes deprecated since 3.2.0 2020-07-09 23:53:22 +10:00
Hugo van Kemenade
88b7b9c1f5 Remove unused externs from Imaging.h 2020-07-07 20:46:10 +03:00
Hugo van Kemenade
ec6f2d41f8
Merge pull request #4749 from millionhz/autocontrast 2020-07-05 12:10:23 +03:00
Andrew Murray
7aaf021822
Merge pull request #4753 from Conchylicultor/patch-1
Minor fix: remove str(bytes) call
2020-07-04 20:35:27 +10:00
Hugo van Kemenade
109c637ddb 'plugin', formatting and typos 2020-07-03 09:38:30 +03:00
nulano
74899cd6cf
Merge branch 'master' into refs-animated 2020-07-02 12:58:09 +01:00
Andrew Murray
7d49c8f38c Updated documentation 2020-07-02 19:14:24 +10:00
Conchylicultor
89fb0ee5aa
Update TiffImagePlugin.py 2020-07-01 14:05:47 -07:00
Conchylicultor
eb6faf6f02
Minor str(bytes) call
Some environments have strict mode to catch potential str<>bytes error. This is triggered by this line:

```
TiffImagePlugin.py3", line 996, in _open
    logger.debug("- ifh: {}".format(ifh))
BytesWarning: str() on a bytes instance
```
2020-07-01 12:20:17 -07:00