[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Why QImage.colorTable() returns signed int?
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2009-05-31 10:50:15
Message-ID: 4e1c00e647ee152f5cd1324cef6ad6b4 () localhost
[Download RAW message or body]
On Sun, 31 May 2009 14:48:10 +0900, INADA Naoki <songofacandy@gmail.com>
wrote:
> Hi.
>
> QRgb type is unsigned int typedef and QImage.colorTable() method
> returns vector of QRgb.
>
> But, there are minus integers in value QImage.colorTable() return when
> the QImage have color palette with alpha.
>
> Is this a bug?
I think this would only happen if sizeof (unsigned) == sizeof (long).
Can you send me an image that demonstrates the problem?
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic