[Interest] About copying the image buffer with alpha blending

Samuel Rødal samuel.rodal at nokia.com
Wed Aug 29 12:05:52 CEST 2012

On 08/29/2012 11:54 AM, ext song.7.liu at nokia.com wrote:
> Is the premultiplied specified when creating QImage or other ?

The QImage constructor takes the QImage::Format. But if you load the
image from file it should already pick Format_ARGB32_Premultiplied by
default if the image has an alpha channel.

I guess there's a chance that Format_ARGB8565_Premultiplied gets picked
as well if you're using QPixmap to load the images, depending on the Qt
version, 16-bit color depth, and the absence of NEON / SSE.


More information about the Interest mailing list