[Interest] About copying the image buffer with alpha blending

song.7.liu at nokia.com song.7.liu at nokia.com
Wed Aug 29 11:54:09 CEST 2012


Is the premultiplied specified when creating QImage or other ?

From: interest-bounces+song.7.liu=nokia.com at qt-project.org [mailto:interest-bounces+song.7.liu=nokia.com at qt-project.org] On Behalf Of ext Till Oliver Knoll
Sent: Wednesday, August 29, 2012 5:04 PM
To: Qt Project
Subject: Re: [Interest] About copying the image buffer with alpha blending

Am 29.08.2012 um 09:53 schrieb <song.7.liu at nokia.com<mailto:song.7.liu at nokia.com>>:

Hi,

We found that QPainer::drawImage takes 30~50ms for one 150*114 image, it seems a little slow.

Make sure all images are using *premultiplied* alpha values when doing image compositing.

Does that help?

Cheees,
  Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120829/7d88c4bb/attachment.html>


More information about the Interest mailing list