Color key overlay

David Johnson dave at topblue.com
Fri Jul 24 03:02:05 PDT 2009


Is there any X operation (maybe through X Render) for color key overlays? I
want to overlay a pixmap onto another using a color of the overlay (say
RGB=0) to indicate transparency to the second pixmap. I have been able to
use the alpha channel of the overlay to achieve this, where the overlay is a
32 bit pixmap, but I'm constrained in one situation to use a 24 bit pixmap
with no alpha information. (I guess a related question is whether there is
an efficient way to generate a 32 bit pixmap from a 24 bit pixmap where
alpha is created from the contents of the 24 bit).

 

D

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg/attachments/20090724/4ae4a480/attachment.html>


More information about the xorg mailing list