Hi, After using the QPixmap, the pixel format now is Format_ARGB32_Premultiplied, and the performance looks better.
But one question is about the background image, as this case the alpha channel info can be dropped, is there a way to discard this alpha info to accelerate drawing background image ? Thanks, Song -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Rodal Samuel (Nokia-MP/Oslo) Sent: Wednesday, August 29, 2012 6:43 PM To: [email protected] Subject: Re: [Interest] About copying the image buffer with alpha blending On 08/29/2012 12:05 PM, ext [email protected] wrote: > QImage(const QString &fileName, const char *format = 0); > > > > If I want to use Format_ARGB8565_Premultiplied, so what's the format > string in above constructor ? > > > > Thanks, > > Song Why not use QPixmap? It should pick the best format for blitting and blending automatically. -- Samuel _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest _______________________________________________ Interest mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/interest
