mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-13 17:25:49 +03:00
Document gs_binary property
This commit is contained in:
parent
a84a43528e
commit
3ee8009561
|
@ -88,8 +88,14 @@ in ``L``, ``RGB`` and ``CMYK`` modes.
|
|||
Loading
|
||||
~~~~~~~
|
||||
|
||||
To use Ghostscript, Pillow searches for the "gs" executable. On Windows, it
|
||||
also searches for "gswin32c" and "gswin64c". If you would like to customise
|
||||
this behaviour, ``EpsImagePlugin.gs_binary = "gswin64"`` will set the name of
|
||||
the executable to use. ``EpsImagePlugin.gs_binary = False`` will prevent
|
||||
Ghostscript from being used altogether.
|
||||
|
||||
If Ghostscript is available, you can call the :py:meth:`~PIL.Image.Image.load`
|
||||
method with the following parameters to affect how Ghostscript renders the EPS
|
||||
method with the following parameters to affect how Ghostscript renders the EPS.
|
||||
|
||||
**scale**
|
||||
Affects the scale of the resultant rasterized image. If the EPS suggests
|
||||
|
|
Loading…
Reference in New Issue
Block a user