[Qt-interest] QPainter::drawImage behaviour, a bug?
nsf
no.smile.face at gmail.com
Fri Jun 11 14:29:19 CEST 2010
On Fri, 11 Jun 2010 05:08:37 -0700 (PDT)
Mihail Naydenov <mlists at ymail.com> wrote:
> Yes, Qt will pre-multiply your images, try using QImage::Format_ARGB32_Premultiplied instead.
Unfortunately, this is not an option, since I'm doing save/load cycle
anyway, so it gets converted back and forth and that process causes
mismatch (obviously).
Thanks anyway for a reply, I'll do it using custom memcpy-based
function.
P.S. Premultiplied alpha format is good for fast blending for sure, but
when this is just about copies (e.g. CompositionMode_Source) it harms..
More information about the Qt-interest-old
mailing list