Transparency on a XPM file



Hello all,

I have written and app that loads a XPM image from it's data, that is
in a header, and not form a XPM file (i know it's sort of the same
thing, but I used an specific function to get XPM data,
gdk_pixbuf_new_from_xpm_data () ).

However, the background of the image shows up depending on which theme
the user is using. Is there a way I could apply transparency to that
image? Like getting pixel (0,0) and make all pixels with that color be
transparent?

Thanks,

--

César Leonardo Blum Silveira
Graduando em Ciência da Computação - Unisinos
Centro de Simulação de Humanos Virtuais
http://cesarbs.blogspot.com/
MSN: cesarbs490 _at_ msn _dot_ com
ICQ: 170861826



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]