@@ -894,9 +894,8 @@ def convert(
894894 omitted, a mode is chosen so that all information in the image
895895 and the palette can be represented without a palette.
896896
897- The current version supports all possible conversions between
898- "L", "RGB" and "CMYK". The ``matrix`` argument only supports "L"
899- and "RGB".
897+ This supports all possible conversions between "L", "RGB" and "CMYK". The
898+ ``matrix`` argument only supports "L" and "RGB".
900899
901900 When translating a color image to grayscale (mode "L"),
902901 the library uses the ITU-R 601-2 luma transform::
@@ -1824,9 +1823,8 @@ def point(self, lut, mode: str | None = None) -> Image:
18241823 class Example(Image.ImagePointHandler):
18251824 def point(self, data):
18261825 # Return result
1827- :param mode: Output mode (default is same as input). In the
1828- current version, this can only be used if the source image
1829- has mode "L" or "P", and the output has mode "1" or the
1826+ :param mode: Output mode (default is same as input). This can only be used if
1827+ the source image has mode "L" or "P", and the output has mode "1" or the
18301828 source image mode is "I" and the output mode is "L".
18311829 :returns: An :py:class:`~PIL.Image.Image` object.
18321830 """
@@ -3020,11 +3018,10 @@ def frombuffer(mode, size, data, decoder_name="raw", *args):
30203018 If you have an entire image file in a string, wrap it in a
30213019 :py:class:`~io.BytesIO` object, and use :py:func:`~PIL.Image.open` to load it.
30223020
3023- In the current version, the default parameters used for the "raw" decoder
3024- differs from that used for :py:func:`~PIL.Image.frombytes`. This is a
3025- bug, and will probably be fixed in a future release. The current release
3026- issues a warning if you do this; to disable the warning, you should provide
3027- the full set of parameters. See below for details.
3021+ The default parameters used for the "raw" decoder differs from that used for
3022+ :py:func:`~PIL.Image.frombytes`. This is a bug, and will probably be fixed in a
3023+ future release. The current release issues a warning if you do this; to disable
3024+ the warning, you should provide the full set of parameters. See below for details.
30283025
30293026 :param mode: The image mode. See: :ref:`concept-modes`.
30303027 :param size: The image size.
0 commit comments