|
|
| Author |
Message |
|
|
luhuadeng Familiar Face
Joined: 05 May 2008 Posts: 10
|
Posted: Tue May 13, 2008 9:33 am Post subject: How to save a image show in the GdkPixmap to the file? |
|
|
| How to save a image show in the GdkPixmap to the file? |
|
| Back to top |
|
 |
Micah Carrick Never Seen the Sunlight
Joined: 21 Sep 2005 Posts: 481 Location: Portland, OR USA
|
Posted: Tue May 13, 2008 4:45 pm Post subject: |
|
|
| You can convert from a GdkPixmap to a GdkPixbuf using gdk_pixbuf_get_from_drawable() and then you can save a GdkPixbuf to a file using gdk_pixbuf_save()... I think. Never tried myself. |
|
| Back to top |
|
 |
luhuadeng Familiar Face
Joined: 05 May 2008 Posts: 10
|
Posted: Wed May 14, 2008 1:47 am Post subject: |
|
|
| thanks it ok! |
|
| Back to top |
|
 |
|