From 962ced916d9ae8fe3d96db65f74f3b2670eeec20 Mon Sep 17 00:00:00 2001 From: wiredfool Date: Wed, 19 Nov 2014 14:54:43 -0800 Subject: [PATCH] Image.save docs, rename fp, link to params [ci skip] --- PIL/Image.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/PIL/Image.py b/PIL/Image.py index d556df34c..51d2d989d 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -1621,15 +1621,16 @@ class Image: Keyword options can be used to provide additional instructions to the writer. If a writer doesn't recognise an option, it is - silently ignored. The available options are described later in - this handbook. + silently ignored. The available options are described in the + :doc:`image format documentation + <../handbook/image-file-formats>` for each writer. You can use a file object instead of a filename. In this case, you must always specify the format. The file object must - implement the **seek**, **tell**, and **write** + implement the ``seek``, ``tell``, and ``write`` methods, and be opened in binary mode. - :param file: File name or file object. + :param fp: File name or file object. :param format: Optional format override. If omitted, the format to use is determined from the filename extension. If a file object was used instead of a filename, this