Re: setting a transparent color on a pixbuf for Canvas layering
- From: Quentin Sculo <squentin free fr>
- To: zentara <zentara1 sbcglobal net>
- Cc: gtk-perl-list gnome org
- Subject: Re: setting a transparent color on a pixbuf for Canvas layering
- Date: Tue, 01 Jul 2008 15:00:28 +0200
On Mon, 2008-06-30 at 17:52 -0400, zentara wrote:
How do I take the non-transparent zzrgbwb.png , load it with Gtk2, and
make green transparent without resorting to GD?
Have you tried gdk_pixbuf_add_alpha ?
http://gtk2-perl.sourceforge.net/doc/pod/Gtk2/Gdk/Pixbuf.html#pixbuf_pixbuf_add_al
http://library.gnome.org/devel/gdk-pixbuf/stable/gdk-pixbuf-util.html#gdk-pixbuf-add-alpha
Quentin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]