diff options
| author | tassaron | 2022-04-27 12:42:45 -0400 |
|---|---|---|
| committer | tassaron | 2022-04-27 12:42:45 -0400 |
| commit | 973c28a2947798dfd7efe59ac9b55f2585504679 (patch) | |
| tree | 379b118b0c1233caed2c93f61380c9e463ed5b62 /src/toolkit/frame.py | |
| parent | 17b4cba6d1a5f24b4de3b53f79b93dd409e28ccd (diff) | |
fix segmentation fault when rendering Color component
Pillow's ImageQt is a subclass of QImage
Diffstat (limited to 'src/toolkit/frame.py')
| -rw-r--r-- | src/toolkit/frame.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/toolkit/frame.py b/src/toolkit/frame.py index f2511fe..520bd43 100644 --- a/src/toolkit/frame.py +++ b/src/toolkit/frame.py @@ -22,7 +22,8 @@ class FramePainter(QtGui.QPainter): ''' def __init__(self, width, height): image = BlankFrame(width, height) - self.image = QtGui.QImage(ImageQt(image)) + log.debug("Creating QImage from PIL image object") + self.image = ImageQt(image) super().__init__(self.image) def setPen(self, penStyle): |
