mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
commit
351e5fe8b4
|
@ -14,7 +14,7 @@ itself. Such plug-ins usually have names like
|
||||||
Pillow decodes files in 2 stages:
|
Pillow decodes files in 2 stages:
|
||||||
|
|
||||||
1. It loops over the available image plugins in the loaded order, and
|
1. It loops over the available image plugins in the loaded order, and
|
||||||
calls the plugin's ``accept` function with the first 16 bytes of
|
calls the plugin's ``accept`` function with the first 16 bytes of
|
||||||
the file. If the ``accept`` function returns true, the plugin's
|
the file. If the ``accept`` function returns true, the plugin's
|
||||||
``_open`` method is called to set up the image metadata and image
|
``_open`` method is called to set up the image metadata and image
|
||||||
tiles. The ``_open`` method is not for decoding the actual image
|
tiles. The ``_open`` method is not for decoding the actual image
|
||||||
|
|
Loading…
Reference in New Issue
Block a user