From 3cb355c1afa395b4e90b8407f15561ff52f60bc9 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sun, 27 Feb 2022 15:39:25 +1100 Subject: [PATCH] Refer to set_as_raw() in Python decoder documentation --- docs/handbook/writing-your-own-image-plugin.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/handbook/writing-your-own-image-plugin.rst b/docs/handbook/writing-your-own-image-plugin.rst index 0c9cfe8e8..fc33c8e01 100644 --- a/docs/handbook/writing-your-own-image-plugin.rst +++ b/docs/handbook/writing-your-own-image-plugin.rst @@ -432,4 +432,7 @@ Python-based file codec: a buffer of data to be interpreted, or the ``encode`` method is repeatedly called with the size of data to be output. + In ``decode``, once the data has been interpreted, ``set_as_raw`` can be + used to populate the image. + 3. Cleanup: The instance's ``cleanup`` method is called.