Anyone want to try gdkpixbuf ? call for guinea pigs....

From: Date: Wed, 28 Nov 2001 12:19:29 +0000
Subject: Anyone want to try gdkpixbuf ? call for guinea pigs....
References: 1 2  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-209@lists.php.net to get a copy of this message
Attached (hopefully) is the code for gdkpixbuf - I havent been able to test it yet - it builds... Does anyone have any time to try it.... (segfaults guarenteed :) there are 3 functions that work. $pixbuf = new gdkpixbuf("my_image.jpg"); $pixbuf->scale_simple(100,100,GDK_INTERP_NEAREST); // x,y, gdkinterptype list($pixmap,$bitmask) = $pixbuf->render_pixmap_and_mask(0); // alpha threshold; -- use pixmap & mask just like gdk::create_pixmap_from_xpm($file);

« previous php.gtk.dev (#209) next »