Re: Problems with pixbufs
- From: Sven Neumann <sven gimp org>
- To: Tuomas Peippo <tuomas peippo 2ndpoint fi>
- Cc: gtk-devel-list gnome org
- Subject: Re: Problems with pixbufs
- Date: 18 May 2004 20:57:02 +0200
Hi,
Tuomas Peippo <tuomas peippo 2ndpoint fi> writes:
> I'm trying to "blend" two pixbufs together using gdk_pixbuf_composite
> but I'm having trouble understanding what it actually does.
>
> I was hoping that it would blend two pixbufs according to alpha
> channels e.g if I have a image with red square on white background
> which has alpha value 0 ( which I hope means fully transparent ) and
> I would like to merge it with image that has some random pixels on
> white background so I guess that gdk_pixbuf_composite() doesn't
> blend it so that only red square would transfer?
It does just that. Perhaps it would help if you could show us your
code. But please let's continue this thread on gtk-list since
gtk-devel-list is about development of GTK+.
Sven
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]