Merge pull request #2392 from radarhere/qt

Added PySide to ImageQt documentation
This commit is contained in:
wiredfool 2017-02-06 16:56:10 +00:00 committed by GitHub
commit c0b1c9c30e

View File

@ -4,8 +4,8 @@
:py:mod:`ImageQt` Module
========================
The :py:mod:`ImageQt` module contains support for creating PyQt4 or PyQt5 QImage objects
from PIL images.
The :py:mod:`ImageQt` module contains support for creating PyQt4, PyQt5 or
PySide QImage objects from PIL images.
.. versionadded:: 1.1.6
@ -14,7 +14,7 @@ from PIL images.
Creates an :py:class:`~PIL.ImageQt.ImageQt` object from a PIL
:py:class:`~PIL.Image.Image` object. This class is a subclass of
QtGui.QImage, which means that you can pass the resulting objects directly
to PyQt4/5 API functions and methods.
to PyQt4/PyQt5/PySide API functions and methods.
This operation is currently supported for mode 1, L, P, RGB, and RGBA
images. To handle other modes, you need to convert the image first.