summaryrefslogtreecommitdiff
path: root/src/gipfel.cxx
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-27 08:15:44 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-27 08:15:44 +0100
commitc88a67ce878890138dfc5a16d7d834a2f0cce8fc (patch)
treee75eecac944468a9344ab48f211609b112017629 /src/gipfel.cxx
parent9b3494d95ce96d87bac6b1b159a17ebc2bbcff5d (diff)
make ScreenDump work on OutputImage
Diffstat (limited to 'src/gipfel.cxx')
-rw-r--r--src/gipfel.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gipfel.cxx b/src/gipfel.cxx
index 2b665b5..368d6ae 100644
--- a/src/gipfel.cxx
+++ b/src/gipfel.cxx
@@ -139,8 +139,9 @@ void save_cb() {
void dump_cb(Fl_Widget * o, void*) {
ScreenDump dmp(gipf);
+ JPEGOutputImage out("/tmp/dmp.jpg");
- dmp.save("/tmp/dmp.jpg");
+ dmp.save(&out);
}
void focal_length_cb(Fl_Slider* o, void*) {