Exporting a GtkPlot as png

Arne Pagel <[email protected]> Sun, 09 May 2010 14:31:59 +0200
Newsgroups gmane.comp.scigraphica.gtkextra
Message-ID <[email protected]>
Hello,

I wrote a application which uses GtkPlot and GtkPlotCanvas to display some sampled data.
Now I want to export the Plot to a png-image.

Creating PNG images seams to be easy with libpng, but I don't know how I can get the Image Data from
the GTkPlot, or the GtkPlotCanvas.


Has anyone an idea what would be the easiest way to do this?

Best reagrds
   Arne





------------------------------------------------------------------------------