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 d05281f commit 0cd5507Copy full SHA for 0cd5507
docs/handbook/writing-your-own-image-plugin.rst
@@ -447,3 +447,9 @@ Python-based file codec:
447
If you set ``_pulls_fd`` or ``_pushes_fd`` to ``True`` however, then you
448
probably chose to perform any cleanup tasks at the end of ``decode`` or
449
``encode``.
450
+
451
+For an example :py:class:`PIL.ImageFile.PyDecoder`, see `DdsImagePlugin
452
+<https://github.com/python-pillow/Pillow/blob/main/docs/example/DdsImagePlugin.py>`_.
453
+For a plugin that uses both :py:class:`PIL.ImageFile.PyDecoder` and
454
+:py:class:`PIL.ImageFile.PyEncoder`, see `BlpImagePlugin
455
+<https://github.com/python-pillow/Pillow/blob/main/src/PIL/BlpImagePlugin.py>`_
0 commit comments