Re: GdkBitmap from black & white .png file

2009-02-05 Thread Yann Droneaud
ould create a GdkBitmap from a GdkPixbuf according to your black and white PNG. Feel free to test and fix it. /* * Author: Yann Droneaud * */ GdkBitmap * my_gdk_bitmap_new_from_pixbuf_non_alpha(GdkDrawable *drawable, GdkPixbuf *pixbuf) { int width; int

Re: Problem displaying image with alpha channel in a transparent window

2008-07-23 Thread Yann Droneaud
Le mercredi 23 juillet 2008 à 17:42 +0200, Yann Droneaud a écrit : > Fixed program is test-gdkpixbuf-cairo.c > Error: Missing cairo_t *cr declaration. Here is the definitive source code. Sorry. -- Yann Droneaud <[EMAIL PROTECTED]> ___

Re: Problem displaying image with alpha channel in a transparent window

2008-07-23 Thread Yann Droneaud
Le mercredi 23 juillet 2008 à 10:38 +0200, Yann Droneaud a écrit : > Hi, > > I'm trying to write a program to display a picture with full > transparency in its own window (without border), using Composite > extension (ARGB colormap and visual). > Using Cairo correct

Re: save image and display image from postgresql

2008-07-23 Thread Yann Droneaud
omputer, the application will benefit from the filesystem cache). Regards -- Yann Droneaud <[EMAIL PROTECTED]> ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Problem displaying image with alpha channel in a transparent window

2008-07-23 Thread Yann Droneaud
omposited with the window background. Could someone provide me a link, a tips, or something to help me. Thanks. [1] http://macslow.thepimp.net/?page_id=23 [2] http://mail.gnome.org/archives/gtk-list/2006-October/msg00246.html -- Yann Droneaud <[EMAIL PROTECTED]> __