[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: QImage.fill() Change in Behavior Between PyQt6 6.0.3 and 6.1.0
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2021-06-13 11:18:00
Message-ID: 160afb6dd5cf168297bd55896ea73dc1 () riverbankcomputing ! com
[Download RAW message or body]
On 12/06/2021 16:47, Ognyan Moore wrote:
> Hello from pyqtgraph; we noticed a recent change in behavior with
> QImage.fill() between recent versions of PyQt6.
>
> Here is a MWE:
>
> Behavior on PyQt6 < 6.1
>
>>>> qimg = QtGui.QImage(1, 1, QtGui.QImage.Format.Format_ARGB32)
>>>> qimg.fill(0)
>>>> hex(qimg.pixel(0, 0))
> '0x0'
>
> Behavior on PyQt6 6.1
>
>>>> qimg = QtGui.QImage(1, 1, QtGui.QImage.Format.Format_ARGB32)
>>>> qimg.fill(0)
>>>> hex(qimg.pixel(0, 0))
> '0xff000000'
>
> This issue also has some unfortunate side effects with us having to
> have
> endian specific code-paths
It will be fixed in v6.1.1.
Thanks,
Phil
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic