diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2022-05-27 19:08:41 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2022-05-29 21:39:48 +0200 |
commit | e550dc702299fdaa146a24ff872ef3a3b2adeafd (patch) | |
tree | 937c9c4d3c7921f8878a1a414ae2a3aafa2b64e9 /configure.ac | |
parent | fb675d307ab0e75aa36eabeb764b1fbbb0f459f1 (diff) |
tdf#144601 Qt fix creating QImage with alpha mask
Rechecking the QImage documentation, this actually can be easily
done; no more bit twiddling, which I got wrong to begin with.
LO's alpha mask is inverted to Qt's expectations, but we have
invertPixels() and then apply it with setAlphaChannel(). And we
can even set the fAlpha using setOpacity()!
Change-Id: If2030d3f87d3a4698d1cd9af005d307c2ee63061
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135044
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Tested-by: Jenkins
(cherry picked from commit 6959a18d1a8fea4d65498083dc3ba05f640d0f39)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135060
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions