GdkPixbuf Trouble
| From: | Anant Narayanan | Date: | Thu, 23 Mar 2006 20:09:45 +0000 |
| Subject: | GdkPixbuf Trouble | ||
| Groups: | php.gtk.dev | ||
| Request: | Send a blank email to php-gtk-dev+get-2675@lists.php.net to get a copy of this message | ||
Hi All,
I tried to port the GdkPixbuf demo from Gtk+ (also there in pygtk-demo).
http://www.kix.in/php-gtk2/gdkpixbuf.phps
Trouble is, I've spent almost this entire week in debugging the damn
thing. It always gives me an error when I try to use the
draw_rgb_image_dithalign() method. The 5th parameter is supposed to a
pixel map. But looks like the get_pixels() method for GdkPixbuf doesn't
return what draw_rgb_* needs.
Is there any conversion step that I'm missing? If any of have the time,
it would be great if you could have look at the script.
Best Regards,
--
Anant
Find Freedom, Go Open Source!
http://www.kix.in/