From d258151391bead3a167f54068096a8d727ba273a Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Mon, 31 Jul 2006 17:09:25 +0200 Subject: add jpeg write support to DataImage --- src/gipfel.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gipfel.cxx') diff --git a/src/gipfel.cxx b/src/gipfel.cxx index a5b0fc9..acdd1de 100644 --- a/src/gipfel.cxx +++ b/src/gipfel.cxx @@ -433,6 +433,8 @@ int stitch(int stitch_w, int stitch_h, int argc, char **argv) { win->show(0, argv); st->resample(img, 0.0, 7.0); + + img->write_jpeg("/tmp/bla.jpg", 90); Fl::run(); exit(0); } -- cgit v1.2.3