File: ImageShow.rst

package info (click to toggle)
pillow 12.0.0-1
  • links: PTS
  • area: main
  • in suites: forky
  • size: 72,636 kB
  • sloc: python: 49,518; ansic: 38,787; makefile: 302; sh: 168; javascript: 85
file content (33 lines) | stat: -rw-r--r-- 1,014 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.. py:module:: PIL.ImageShow
.. py:currentmodule:: PIL.ImageShow

:py:mod:`~PIL.ImageShow` module
===============================

The :py:mod:`~PIL.ImageShow` module is used to display images.
All default viewers convert the image to be shown to PNG format.

.. autofunction:: PIL.ImageShow.show

.. autoclass:: IPythonViewer
.. autoclass:: WindowsViewer
.. autoclass:: MacViewer

.. class:: UnixViewer

    The following viewers may be registered on Unix-based systems, if the given command is found:

    .. autoclass:: PIL.ImageShow.XDGViewer
    .. autoclass:: PIL.ImageShow.DisplayViewer
    .. autoclass:: PIL.ImageShow.GmDisplayViewer
    .. autoclass:: PIL.ImageShow.EogViewer
    .. autoclass:: PIL.ImageShow.XVViewer

    To provide maximum functionality on Unix-based systems, temporary files created
    from images will not be automatically removed by Pillow.

.. autofunction:: PIL.ImageShow.register
.. autoclass:: PIL.ImageShow.Viewer
    :member-order: bysource
    :members:
    :undoc-members: