Skip to content

Commit 3cb355c

Browse files
committed
Refer to set_as_raw() in Python decoder documentation
1 parent 37d28ce commit 3cb355c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/handbook/writing-your-own-image-plugin.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,4 +432,7 @@ Python-based file codec:
432432
a buffer of data to be interpreted, or the ``encode`` method is repeatedly
433433
called with the size of data to be output.
434434

435+
In ``decode``, once the data has been interpreted, ``set_as_raw`` can be
436+
used to populate the image.
437+
435438
3. Cleanup: The instance's ``cleanup`` method is called.

0 commit comments

Comments
 (0)