From 8550570187b007a0dd748199526149f6f9a228bb Mon Sep 17 00:00:00 2001 From: wiredfool Date: Wed, 20 Nov 2013 22:23:26 -0800 Subject: [PATCH] Qt5 Documentation --- docs/reference/ImageQt.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/ImageQt.rst b/docs/reference/ImageQt.rst index 2f5cccf45..e63fd99fe 100644 --- a/docs/reference/ImageQt.rst +++ b/docs/reference/ImageQt.rst @@ -4,7 +4,7 @@ :py:mod:`ImageQt` Module ======================== -The :py:mod:`ImageQt` module contains support for creating PyQt4 QImage objects +The :py:mod:`ImageQt` module contains support for creating PyQt4 or PyQt5 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 API functions and methods. + to PyQt4/5 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.