阅读背景:

当使用Pixmap调用PyQt的setPixmap()时,“Python.exe”崩溃

来源:互联网 

I have a program that sends and receives images to each other using sockets. The server sends the image data using 'image.tostring()' and the client side receives it and turns it back into an image using 'Image.fromstring', then into a QImage using 'ImageQt.ImageQt(image)', turns it into a QPixmap using 'QPixmap.fromimage(qimage)'then updates my QWidget's QLable's image using 'lable.setPixmap(qpixmap)'I have a program that sends and receives images




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: