[gtkmm] saving images in Drawing Area
- From: "Vishal Modak" <whizvish80 rediffmail com>
- To: dss home se
- Cc: gtkmm-list gnome org, christof petig-baender de
- Subject: [gtkmm] saving images in Drawing Area
- Date: 6 Jan 2003 23:25:55 -0000
hi
i am trying to save an image which i loaded using Gdk::PixBuf in
gtkmm-2.0..i dont really know how to save it..The
Gdk::Pixbuf..does provide a save function...but i dont really have
idea as to how to use it..
I loaded the image using create_from_file function
Glib::RefPtr<gdk::Pixbuf>
pbuf=Gdk::Pixbuf::create_from_file("logo.gif");
pixbuf->render_to_drawable(...............)
Another question is...when i make changes to the drawing
area..where are the changes stored..in the memory or to the
pixbuf..?
If they are saved in memory how do i saved updated image...?
If they are being saved in the pixbuf..then what is the way to
save this pixbuf..?
Is any function which can allow me to save existing image data in
drawing area widget ..to a file..?
please write to me any information u know
regards
vishal
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]