Merge pull request #4293 from radarhere/draft

Updated draft documentation
This commit is contained in:
Hugo van Kemenade 2019-12-24 09:12:52 +02:00 committed by GitHub
commit 8e43be1207
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1127,15 +1127,14 @@ class Image:
Configures the image file loader so it returns a version of the
image that as closely as possible matches the given mode and
size. For example, you can use this method to convert a color
JPEG to greyscale while loading it, or to extract a 128x192
version from a PCD file.
JPEG to greyscale while loading it.
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
effect.
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 size: The requested size.