[PyKDE] Creating transparent QPixmaps
Alexander Borghgraef
alexander.borghgraef.rma at gmail.com
Wed May 24 13:06:12 BST 2006
Hi all,
I was wondering, how can you create a QPixmap with a transparent
background?
I found some info on how to read images with an alpha channel, but what I
want to do is
to draw on an empty QPixmap using a QPainter (like you do with a buffer for
instance).
The goal is to be able to work in layers, like gimp does for instance: you
have a pixmap image
(image sequence stored in a QCanvasSprite actually, but I digress) on top of
which you can place
transparent layers on which the user or a routine (an optical flow routine
e.g.) can draw. Any ideas?
--
Alex Borghgraef
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20060524/153b2c75/attachment.html
More information about the PyQt
mailing list