summaryrefslogtreecommitdiffstats
path: root/util/xkbdatagen
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@digia.com>2014-07-24 15:54:58 +0200
committerAllan Sandfeld Jensen <allan.jensen@digia.com>2014-07-31 20:16:09 +0200
commitd8dc664b945d8832eab97c5df0e1ea47ebf895fd (patch)
treebe9fe35ad391540c7fc8e328d22cc01b5e4592da /util/xkbdatagen
parent1852ece715b6eefadd8c9bf048d5f8d147f08b5b (diff)
Ensure valid data after QImage::invertPixels
QImage::invertPixels may produce invalid data after inversions of images with premultiplied alpha, because the inverted colors will be larger than the alpha. This patch converts any image with a premultiplied alpha channel to ARGB32 before inverting the pixels, and then back to the original format after the inversion. Support is added for correct inversion of RGBA8888 and RGB30 formats. Task-number: QTBUG-39901 Change-Id: Ief24c55f495e67ef2ad6429b5b418d02963a64dd Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
Diffstat (limited to 'util/xkbdatagen')
0 files changed, 0 insertions, 0 deletions