QImage(self.image.data, self.image.shape[1], self.image.shape[0], self.image.strides[0], # <--- +++ qformat) img = img.rgbSwapped() self.trainOpenImg.
確定! 回上一頁