Re: Adding alpha channel to existing GdkPixbuf
- From: Havoc Pennington <hp redhat com>
- To: Federico Mena Quintero <federico redhat com>
- cc: dusk ravendusk org, gnome-devel-list gnome org
- Subject: Re: Adding alpha channel to existing GdkPixbuf
- Date: Thu, 2 Dec 1999 11:29:16 -0500 (EST)
On Thu, 2 Dec 1999, Federico Mena Quintero wrote:
>
> Here is an untested function to promote a pixbuf to have alpha. If
> people think this is generally useful, please tell me so that I can
> document it and put it in gdk-pixbuf.
>
> GdkPixbuf *
> gdk_pixbuf_add_alpha (GdkPixbuf *pixbuf)
How about gdk_pixbuf_add_alpha (GdkPixbuf *pixbuf,
GdkColor *color)
where color can be NULL and otherwise is the color to give an alpha of 0?
This is what 90% of people will be using this function for, and if they
are they have to iterate to set up the alpha anyway.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]