Re: Conversion from GdkRegion to GdkPixbuf
- From: "Gian Mario Tagliaretti" <g tagliaretti gmail com>
- To: Colossus <colossus 3000 it>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Conversion from GdkRegion to GdkPixbuf
- Date: Tue, 28 Nov 2006 14:04:55 +0100
2006/11/28, Colossus <colossus 3000 it>:
I have some image data in a GdkRegion, I need to use gdk_pixbuf_save()
to save those image data in a png format. How can I convert it?
I guess you can use cairo to do that job creating a cairo context and
set the GdkRegion on the context with gdk_cairo_region(), then you
save the image in PNG file format.
cheers
--
Gian Mario Tagliaretti
http://www.parafernalia.org/pygtk/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]