mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
Merge pull request #3348 from radarhere/patch-1
From KeyError to ValueError when saving image
This commit is contained in:
commit
bd069ae1ab
|
@ -1894,7 +1894,7 @@ class Image(object):
|
|||
parameter should always be used.
|
||||
:param params: Extra parameters to the image writer.
|
||||
:returns: None
|
||||
:exception KeyError: If the output format could not be determined
|
||||
:exception ValueError: If the output format could not be determined
|
||||
from the file name. Use the format option to solve this.
|
||||
:exception IOError: If the file could not be written. The file
|
||||
may have been created, and may contain partial data.
|
||||
|
|
Loading…
Reference in New Issue
Block a user