ImageQt Module
The ImageQt
module contains support for creating PyQt4 or PyQt5 QImage objectsfrom PIL images.
1.1.6 新版功能.
- class
ImageQt.
ImageQt
(image) - Creates an
ImageQt
object from a PILImage
object. This class is a subclass ofQtGui.QImage, which means that you can pass the resulting objects directlyto PyQt4/5 API functions and methods.
This operation is currently supported for mode 1, L, P, RGB, and RGBAimages. To handle other modes, you need to convert the image first.
当前内容版权归 pillow-zh-cn 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 pillow-zh-cn .