[webkit-qt] QImage vs QPixmap

noam.rosenthal at nokia.com noam.rosenthal at nokia.com
Thu Mar 4 13:25:57 PST 2010


>-----Original Message-----
>From: Zack Rusin [mailto:zrusin at gmail.com] On Behalf Of ext Zack Rusin
>Sent: Friday, March 05, 2010 12:52 AM
>To: Rosenthal Noam (Nokia-D-Qt/RedwoodCity)
>Cc: koivisto at iki.fi; webkit-qt at lists.webkit.org
>Subject: Re: [webkit-qt] QImage vs QPixmap
>
>On Thursday 04 March 2010 02:23:48 noam.rosenthal at nokia.com wrote:
>> API-wise, can we use a QPixmap with forced QRasterPixmapData in key 
>> places  (e.g. images that are loaded from the network; 
>canvas buffer) 
>> instead of  an explicit QImage everywhere? This would
>
>I'm a little confused, how does that help with anything? The 
>question isn't how do we make QPixmap a QImage, it's how do we 
>make it work. I think we established that there's no way we 
>can make QImage work globally, so I'm not sure how "there's no 
>way we can make QImage's work globally" is solved by making 
>QPixmap effectively always a QImage.
>

No reason for confusion :) 
My proposal wasn't solving that problem - which I don't have a solution for - it was adding a request for how the API would look like in case we do. Probably was getting ahead of myself there...


More information about the webkit-qt mailing list