Updated draft documentation [ci skip]

This commit is contained in:
Andrew Murray 2019-12-24 14:50:53 +11:00
parent fafeeefccd
commit 74a8034644

View File

@ -1127,15 +1127,14 @@ class Image:
Configures the image file loader so it returns a version of the Configures the image file loader so it returns a version of the
image that as closely as possible matches the given mode and image that as closely as possible matches the given mode and
size. For example, you can use this method to convert a color size. For example, you can use this method to convert a color
JPEG to greyscale while loading it, or to extract a 128x192 JPEG to greyscale while loading it.
version from a PCD file.
Note that this method modifies the :py:class:`~PIL.Image.Image` object Note that this method modifies the :py:class:`~PIL.Image.Image` object
in place. If the image has already been loaded, this method has no in place. If the image has already been loaded, this method has no
effect. effect.
Note: This method is not implemented for most images. It is Note: This method is not implemented for most images. It is
currently implemented only for JPEG and PCD images. currently implemented only for JPEG and MPO images.
:param mode: The requested mode. :param mode: The requested mode.
:param size: The requested size. :param size: The requested size.