diff --git a/src/main/python/ayab/scene.py b/src/main/python/ayab/scene.py index b88af91d..2db42b23 100644 --- a/src/main/python/ayab/scene.py +++ b/src/main/python/ayab/scene.py @@ -79,7 +79,7 @@ def refresh(self): else: im = self.ayabimage.image data = im.convert("RGBA").tobytes("raw", "RGBA") - qim = QImage(data, width, height, QImage.Format_ARGB32) + qim = QImage(data, width, height, QImage.Format_RGBA8888) pixmap = QPixmap.fromImage(qim) # add pattern and locate according to alignment