@@ -8,7 +8,7 @@ Over 30 different file formats can be identified and read by the library.
8
8
Write support is less extensive, but most common interchange and presentation
9
9
formats are supported.
10
10
11
- The :py:meth: `~PIL.Image.Image. open ` function identifies files from their
11
+ The :py:meth: `~PIL.Image.open ` function identifies files from their
12
12
contents, not their names, but the :py:meth: `~PIL.Image.Image.save ` method
13
13
looks at the name to determine which format to use, unless the format is given
14
14
explicitly.
@@ -25,7 +25,7 @@ Pillow reads and writes Windows and OS/2 BMP files containing ``1``, ``L``, ``P`
25
25
or ``RGB `` data. 16-colour images are read as ``P `` images. Run-length encoding
26
26
is not supported.
27
27
28
- The :py:meth: `~PIL.Image.Image. open ` method sets the following
28
+ The :py:meth: `~PIL.Image.open ` method sets the following
29
29
:py:attr: `~PIL.Image.Image.info ` properties:
30
30
31
31
**compression **
@@ -74,7 +74,7 @@ are used or GIF89a is already in use.
74
74
Note that GIF files are always read as grayscale (``L ``)
75
75
or palette mode (``P ``) images.
76
76
77
- The :py:meth: `~PIL.Image.Image. open ` method sets the following
77
+ The :py:meth: `~PIL.Image.open ` method sets the following
78
78
:py:attr: `~PIL.Image.Image.info ` properties:
79
79
80
80
**background **
203
203
Pillow reads and (macOS only) writes macOS ``.icns `` files. By default, the
204
204
largest available icon is read, though you can override this by setting the
205
205
:py:attr: `~PIL.Image.Image.size ` property before calling
206
- :py:meth: `~PIL.Image.Image.load `. The :py:meth: `~PIL.Image.Image. open ` method
206
+ :py:meth: `~PIL.Image.Image.load `. The :py:meth: `~PIL.Image.open ` method
207
207
sets the following :py:attr: `~PIL.Image.Image.info ` property:
208
208
209
209
**sizes **
@@ -257,7 +257,7 @@ Using the :py:meth:`~PIL.Image.Image.draft` method, you can speed things up by
257
257
converting ``RGB `` images to ``L ``, and resize images to 1/2, 1/4 or 1/8 of
258
258
their original size while loading them.
259
259
260
- The :py:meth: `~PIL.Image.Image. open ` method may set the following
260
+ The :py:meth: `~PIL.Image.open ` method may set the following
261
261
:py:attr: `~PIL.Image.Image.info ` properties if available:
262
262
263
263
**jfif **
@@ -697,7 +697,7 @@ Pillow also reads SPIDER stack files containing sequences of SPIDER images. The
697
697
:py:meth: `~PIL.Image.Image.seek ` and :py:meth: `~PIL.Image.Image.tell ` methods are supported, and
698
698
random access is allowed.
699
699
700
- The :py:meth: `~PIL.Image.Image. open ` method sets the following attributes:
700
+ The :py:meth: `~PIL.Image.open ` method sets the following attributes:
701
701
702
702
**format **
703
703
Set to ``SPIDER ``
@@ -750,7 +750,7 @@ uncompressed files.
750
750
support for reading Packbits, LZW and JPEG compressed TIFFs
751
751
without using libtiff.
752
752
753
- The :py:meth: `~PIL.Image.Image. open ` method sets the following
753
+ The :py:meth: `~PIL.Image.open ` method sets the following
754
754
:py:attr: `~PIL.Image.Image.info ` properties:
755
755
756
756
**compression **
@@ -1021,7 +1021,7 @@ FLI, FLC
1021
1021
1022
1022
Pillow reads Autodesk FLI and FLC animations.
1023
1023
1024
- The :py:meth: `~PIL.Image.Image. open ` method sets the following
1024
+ The :py:meth: `~PIL.Image.open ` method sets the following
1025
1025
:py:attr: `~PIL.Image.Image.info ` properties:
1026
1026
1027
1027
**duration **
@@ -1054,7 +1054,7 @@ GBR
1054
1054
1055
1055
The GBR decoder reads GIMP brush files, version 1 and 2.
1056
1056
1057
- The :py:meth: `~PIL.Image.Image. open ` method sets the following
1057
+ The :py:meth: `~PIL.Image.open ` method sets the following
1058
1058
:py:attr: `~PIL.Image.Image.info ` properties:
1059
1059
1060
1060
**comment **
1069
1069
Pillow reads uncompressed GD2 files. Note that you must use
1070
1070
:py:func: `PIL.GdImageFile.open ` to read such a file.
1071
1071
1072
- The :py:meth: `~PIL.Image.Image. open ` method sets the following
1072
+ The :py:meth: `~PIL.Image.open ` method sets the following
1073
1073
:py:attr: `~PIL.Image.Image.info ` properties:
1074
1074
1075
1075
**transparency **
@@ -1185,7 +1185,7 @@ XPM
1185
1185
1186
1186
Pillow reads X pixmap files (mode ``P ``) with 256 colors or less.
1187
1187
1188
- The :py:meth: `~PIL.Image.Image. open ` method sets the following
1188
+ The :py:meth: `~PIL.Image.open ` method sets the following
1189
1189
:py:attr: `~PIL.Image.Image.info ` properties:
1190
1190
1191
1191
**transparency **
0 commit comments