diff --git a/docs/handbook/image-file-formats.rst b/docs/handbook/image-file-formats.rst index 4e72faa66..1e70b2c64 100644 --- a/docs/handbook/image-file-formats.rst +++ b/docs/handbook/image-file-formats.rst @@ -95,7 +95,7 @@ method with the following parameters to affect how Ghostscript renders the EPS Affects the scale of the resultant rasterized image. If the EPS suggests that the image be rendered at 100px x 100px, setting this parameter to 2 will make the Ghostscript render a 200px x 200px image instead. The - relative position of the bounding box is maintained + relative position of the bounding box is maintained: .. code-block:: python @@ -127,7 +127,7 @@ colors. Instead, the image is converted to ``RGB`` handle this. If you would prefer the first ``P`` image frame to be ``RGB`` as well, so that every ``P`` frame is converted to ``RGB`` or ``RGBA`` mode, there is a setting -available +available: .. code-block:: python @@ -137,7 +137,7 @@ available GIF frames do not always contain individual palettes however. If there is only a global palette, then all of the colors can fit within ``P`` mode. If you would prefer the frames to be kept as ``P`` in that case, there is also a setting -available +available: .. code-block:: python @@ -145,7 +145,7 @@ available GifImagePlugin.LOADING_STRATEGY = GifImagePlugin.LoadingStrategy.RGB_AFTER_DIFFERENT_PALETTE_ONLY To restore the default behavior, where ``P`` mode images are only converted to -``RGB`` or ``RGBA`` after the first frame +``RGB`` or ``RGBA`` after the first frame: .. code-block:: python