• Setting alpha channel in PixMap

    From pranav8iisc@pranav8iisc@gmail.com to comp.windows.x on Tue Jan 8 03:36:52 2019
    From Newsgroup: comp.windows.x

    Hi,
    My display supports 32-bit visuals. I have alpha channel information for every pixel in the pixmap. I want to know if it is possible to initialize this pixmap directly pixel-by-pixel? Or, do I need to create an XImage, set alpha channel there and call XPutImage?, If so, could anyone please share the code to create XImage with alpha channel information.
    More specific details: I want to implement edge-blending in our multiprojector tiled display system using NVIDIA Warp and Blend API. I have pre-computed alpha values for each pixel which I want to set in the pixmap to be forwarded to GPU via this API.
    Regards,
    Pranav
    --- Synchronet 3.21d-Linux NewsLink 1.2