diff options
Diffstat (limited to 'src/gipfel.cxx')
-rw-r--r-- | src/gipfel.cxx | 3 |
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*) { |