Skip to content

Commit 8e9d320

Browse files
radarherehugovk
andauthored
Corrected grammar
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 2b9cc3c commit 8e9d320

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,7 @@ Setup
354354
The current conventions are that the codec setup function is named
355355
``PyImaging_[codecname]DecoderNew`` or ``PyImaging_[codecname]EncoderNew``
356356
and defined in ``decode.c`` or ``encode.c``. The Python binding for it is
357-
named ``[codecname]_decoder`` or ``[codecname]_encoder`` and is setup from
357+
named ``[codecname]_decoder`` or ``[codecname]_encoder`` and is set up from
358358
within the ``_imaging.c`` file in the codecs section of the function array.
359359

360360
The setup function needs to call ``PyImaging_DecoderNew`` or
@@ -400,7 +400,7 @@ Alternatively, if ``pulls_fd`` or ``pushes_fd`` is set, then the decode or
400400
encode function is called once, with an empty buffer. It is the codec's
401401
responsibility to transform the entire tile in that one call. Using this will
402402
provide a codec with more freedom, but that freedom may mean increased memory
403-
usage if entire tile is held in memory at once by the codec.
403+
usage if the entire tile is held in memory at once by the codec.
404404

405405
If an error occurs, set ``state->errcode`` and return -1.
406406

0 commit comments

Comments
 (0)