We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67d26ed commit 3b62151Copy full SHA for 3b62151
1 file changed
docs/handbook/writing-your-own-file-decoder.rst
@@ -17,8 +17,8 @@ itself. Such plug-ins usually have names like
17
Pillow decodes files in 2 stages:
18
19
1. It loops over the available image plugins in the loaded order, and
20
- calls the plugin's ``accept`` function with the first 16 bytes of
21
- the file. If the ``accept`` function returns true, the plugin's
+ calls the plugin's ``_accept`` function with the first 16 bytes of
+ the file. If the ``_accept`` function returns true, the plugin's
22
``_open`` method is called to set up the image metadata and image
23
tiles. The ``_open`` method is not for decoding the actual image
24
data.
0 commit comments