mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
add release notes for formats parameter
This commit is contained in:
parent
a340dc5fd3
commit
5669246da0
|
@ -50,6 +50,17 @@ Add MIME type to PsdImagePlugin
|
|||
API Additions
|
||||
=============
|
||||
|
||||
Image.open: add formats parameter
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
Added a new ``formats`` parameter to :py:func:`.Image.open`:
|
||||
|
||||
* A list or tuple of formats to attempt to load the file in.
|
||||
This can be used to restrict the set of formats checked.
|
||||
Pass ``None`` to try all supported formats. You can print the set of
|
||||
available formats by running ``python -m PIL`` or using
|
||||
the :py:func:`PIL.features.pilinfo` function.
|
||||
|
||||
ImageOps.autocontrast: add mask parameter
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user