DOC fix "Write Your Own File Decoder" link in Image API docs

This commit is contained in:
Mikhail Korobov 2015-01-07 04:12:37 +05:00
parent e8e2482292
commit 52cbd123a2
2 changed files with 7 additions and 5 deletions

View File

@ -2024,7 +2024,7 @@ def frombytes(mode, size, data, decoder_name="raw", *args):
You can also use any pixel decoder supported by PIL. For more
information on available decoders, see the section
**Writing Your Own File Decoder**.
:ref:`Writing Your Own File Decoder <file-decoders>`.
Note that this function decodes pixel data only, not entire images.
If you have an entire image in a string, wrap it in a

View File

@ -1,4 +1,6 @@
Writing your own file decoder
.. _file-decoders:
Writing Your Own File Decoder
=============================
The Python Imaging Library uses a plug-in model which allows you to