发布于 2015-09-11 16:18:16 | 206 次阅读 | 评论: 0 | 来源: 网络整理

The ImageQt module contains support for creating PyQt4 or PyQt5 QImage objects from PIL images.

1.1.6 新版功能.

class ImageQt.ImageQt(image)

Creates an ImageQt object from a PIL 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.

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.

最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务